class documentation
class BaseClient:
Known subclasses: stigg.generated.client.Client
Constructor: BaseClient(url, headers, http_client)
Undocumented
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | execute |
Undocumented |
Method | get |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | http |
Undocumented |
Instance Variable | url |
Undocumented |
Method | _convert |
Undocumented |
Method | _convert |
Undocumented |
Method | _execute |
Undocumented |
Method | _execute |
Undocumented |
Method | _get |
Undocumented |
Method | _process |
Undocumented |
def __init__(self, url:
str
= '', headers: dict[ str, str] | None
= None, http_client: httpx.Client | None
= None):
¶
overridden in
stigg.client.StiggClient
Undocumented
def execute(self, query:
str
, operation_name: str | None
= None, variables: dict[ str, Any] | None
= None, **kwargs: Any
) -> httpx.Response
:
¶
overridden in
stigg.client.StiggClient
Undocumented
def _execute_json(self, query:
str
, operation_name: str | None
, variables: dict[ str, Any]
, **kwargs: Any
) -> httpx.Response
:
¶
Undocumented
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
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