class documentation
class AsyncBaseClient:
Known subclasses: stigg.generated.AsyncClient
Constructor: AsyncBaseClient(url, headers, http_client, ws_url, ...)
Undocumented
Async Method | __aenter__ |
Undocumented |
Async Method | __aexit__ |
Undocumented |
Method | __init__ |
Undocumented |
Async Method | execute |
Undocumented |
Async Method | execute |
Undocumented |
Method | get |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | http |
Undocumented |
Instance Variable | url |
Undocumented |
Instance Variable | ws |
Undocumented |
Instance Variable | ws |
Undocumented |
Instance Variable | ws |
Undocumented |
Instance Variable | ws |
Undocumented |
Method | _convert |
Undocumented |
Method | _convert |
Undocumented |
Async Method | _execute |
Undocumented |
Async Method | _execute |
Undocumented |
Method | _get |
Undocumented |
Async Method | _handle |
Undocumented |
Method | _process |
Undocumented |
Async Method | _send |
Undocumented |
Async Method | _send |
Undocumented |
def __init__(self, url:
str
= '', headers: dict[ str, str] | None
= None, http_client: httpx.AsyncClient | None
= None, ws_url: str
= '', ws_headers: dict[ str, Any] | None
= None, ws_origin: str | None
= None, ws_connection_init_payload: dict[ str, Any] | None
= None):
¶
Undocumented
async def execute(self, query:
str
, operation_name: str | None
= None, variables: dict[ str, Any] | None
= None, **kwargs: Any
) -> httpx.Response
:
¶
Undocumented
async def execute_ws(self, query:
str
, operation_name: str | None
= None, variables: dict[ str, Any] | None
= None, **kwargs: Any
) -> AsyncIterator[ dict[ str, Any]]
:
¶
Undocumented
async def _execute_json(self, query:
str
, operation_name: str | None
, variables: dict[ str, Any]
, **kwargs: Any
) -> httpx.Response
:
¶
Undocumented
async def _execute_multipart(self, query:
str
, operation_name: str | None
, variables: dict[ str, Any]
, files: dict[ str, tuple[ str, IO[ bytes], str]]
, files_map: dict[ str, list[ str]]
, **kwargs: Any
) -> httpx.Response
:
¶
Undocumented
def _get_files_from_variables(self, variables:
dict[ str, Any]
) -> tuple[ dict[ str, Any], dict[ str, tuple[ str, IO[ bytes], str]], dict[ str, list[ str]]]
:
¶
Undocumented
async def _handle_ws_message(self, message:
Data
, websocket: WebSocketClientProtocol
, expected_type: GraphQLTransportWSMessageType | None
= None) -> dict[ str, Any] | None
:
¶
Undocumented
def _process_variables(self, variables:
dict[ str, Any] | None
) -> tuple[ dict[ str, Any], dict[ str, tuple[ str, IO[ bytes], str]], dict[ str, list[ str]]]
:
¶
Undocumented
async def _send_subscribe(self, websocket:
WebSocketClientProtocol
, operation_id: str
, query: str
, operation_name: str | None
= None, variables: dict[ str, Any] | None
= None):
¶
Undocumented