kittycad.client.AsyncClient
- class kittycad.client.AsyncClient(base_url='https://api.zoo.dev', *, token, cookies=NOTHING, headers=NOTHING, timeout=120.0, verify_ssl=True, http_client=None)[source][source]
Bases:
object
An Async Client which has been authenticated for use on secured endpoints of the KittyCAD API.
Method generated by attrs for class AsyncClient.
- get_http_client()[source][source]
Get the underlying httpx.AsyncClient, creating it if necessary
- Return type:
AsyncClient
- with_base_url(url)[source][source]
Get a new client matching this one with a new base url
- Return type:
- with_cookies(cookies)[source][source]
Get a new client matching this one with additional cookies
- Return type:
- with_headers(headers)[source][source]
Get a new client matching this one with additional headers
- Return type: