Submodules

common module

class asynctmdb.common.StatusCode[source]

Bases: enum.IntEnum

An enumeration.

AUTHENTICATION_FAILED = 3
INTERNAL_ERROR = 11
INVALID_API_KEY = 7
INVALID_PAGE = 22
RESOURCE_NOT_FOUND = 34
SESSION_DENIED = 17
SUCCESS = 1
SUCCESSFULLY_DELETED = 13

requests module

asynctmdb.requests.send(*, method: typing.Callable[[aiohttp.client.ClientSession, str, typing.Any], asynctmdb.types.AsyncContextManager], method_url: str, session: aiohttp.client.ClientSession, json_body: typing.Dict[str, typing.Any] = None, **params: typing.Dict[str, str]) → typing.Dict[str, typing.Any][source]

Perform HTTP request with JSON-serializable response.