aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/fatcat_openapi_client/api_client.pyi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:08:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commit82ee0c7d967e2ff40270a8435ea292b41e22fa17 (patch)
tree61092d32595a964e39a02f42e5b5f08c14ee7e03 /python_openapi_client/fatcat_openapi_client/api_client.pyi
parenta1bb48b5d2e9536ee7b3da4a7721e049936793e8 (diff)
downloadfatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.tar.gz
fatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.zip
python client: start adding type annotation stubs
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/api_client.pyi')
-rw-r--r--python_openapi_client/fatcat_openapi_client/api_client.pyi31
1 files changed, 31 insertions, 0 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/api_client.pyi b/python_openapi_client/fatcat_openapi_client/api_client.pyi
new file mode 100644
index 00000000..194e9997
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/api_client.pyi
@@ -0,0 +1,31 @@
+from fatcat_openapi_client import rest as rest
+from fatcat_openapi_client.configuration import Configuration as Configuration
+from fatcat_openapi_client.exceptions import ApiValueError as ApiValueError
+from typing import Any
+
+class ApiClient:
+ PRIMITIVE_TYPES: Any
+ NATIVE_TYPES_MAPPING: Any
+ configuration: Any
+ pool_threads: Any
+ rest_client: Any
+ default_headers: Any
+ cookie: Any
+ def __init__(self, configuration: Configuration | None = ..., header_name: Any | None = ..., header_value: Any | None = ..., cookie: Any | None = ..., pool_threads: int = ...) -> None: ...
+ def __del__(self) -> None: ...
+ @property
+ def pool(self): ...
+ @property
+ def user_agent(self): ...
+ @user_agent.setter
+ def user_agent(self, value) -> None: ...
+ def set_default_header(self, header_name, header_value) -> None: ...
+ def sanitize_for_serialization(self, obj): ...
+ def deserialize(self, response, response_type): ...
+ def call_api(self, resource_path, method, path_params: Any | None = ..., query_params: Any | None = ..., header_params: Any | None = ..., body: Any | None = ..., post_params: Any | None = ..., files: Any | None = ..., response_type: Any | None = ..., auth_settings: Any | None = ..., async_req: Any | None = ..., _return_http_data_only: Any | None = ..., collection_formats: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ..., _host: Any | None = ...): ...
+ def request(self, method, url, query_params: Any | None = ..., headers: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
+ def parameters_to_tuples(self, params, collection_formats): ...
+ def files_parameters(self, files: Any | None = ...): ...
+ def select_header_accept(self, accepts): ...
+ def select_header_content_type(self, content_types): ...
+ def update_params_for_auth(self, headers, querys, auth_settings) -> None: ...