diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 16:08:43 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-23 17:39:02 -0800 |
commit | 82ee0c7d967e2ff40270a8435ea292b41e22fa17 (patch) | |
tree | 61092d32595a964e39a02f42e5b5f08c14ee7e03 /python_openapi_client/fatcat_openapi_client/configuration.pyi | |
parent | a1bb48b5d2e9536ee7b3da4a7721e049936793e8 (diff) | |
download | fatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.tar.gz fatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.zip |
python client: start adding type annotation stubs
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/configuration.pyi')
-rw-r--r-- | python_openapi_client/fatcat_openapi_client/configuration.pyi | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/configuration.pyi b/python_openapi_client/fatcat_openapi_client/configuration.pyi new file mode 100644 index 00000000..f1be8254 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/configuration.pyi @@ -0,0 +1,48 @@ +from typing import Any + +class TypeWithDefault(type): + def __init__(cls, name, bases, dct) -> None: ... + def __call__(cls, **kwargs): ... + def set_default(cls, default) -> None: ... + +class Configuration: + host: str | None + temp_folder_path: Any + api_key: str | None + api_key_prefix: Any + refresh_api_key_hook: Any + username: Any + password: Any + logger: Any + logger_stream_handler: Any + logger_file_handler: Any + verify_ssl: bool + ssl_ca_cert: Any + cert_file: Any + key_file: Any + assert_hostname: Any + connection_pool_maxsize: Any + proxy: Any + proxy_headers: Any + safe_chars_for_path_param: str + retries: Any + def __init__(self, host: str = ..., username: str = ..., password: str = ...) -> None: ... + @property + def logger_file(self): ... + @logger_file.setter + def logger_file(self, value) -> None: ... + @property + def debug(self): ... + @debug.setter + def debug(self, value) -> None: ... + @property + def logger_format(self): ... + logger_formatter: Any + @logger_format.setter + def logger_format(self, value) -> None: ... + def get_api_key_with_prefix(self, identifier): ... + def get_basic_auth_token(self): ... + def auth_settings(self): ... + def to_debug_report(self): ... + def get_host_settings(self): ... + def get_host_from_settings(self, index, variables=...): ... |