aito.v1.Client
- aito.v1.Client
The v1 client under its version-neutral name.
AitoClientremains an alias.Methods
async_request(session, *[, method, ...])execute a request asynchronously using aiohttp ClientSession
async_requests(methods, endpoints, queries)batch_requests(requests[, ...])execute a batch of requests asynchronously
bounded_async_request(semaphore, *args, **kwargs)bounded concurrent requests with asyncio semaphore
request(*[, method, endpoint, query, ...])make a request to an Aito API endpoint The client returns a JSON response if the request succeed and a
RequestErrorif the request failsAttributes
headersthe headers that will be used to send a request to the Aito instance
is_multitenantCheck if the client is connected to a multitenant instance.