Configuration
- host=None
- api_key=None
- api_key_prefix=None
- username=None
- password=None
- access_token=None
- server_index=None
- server_variables=None
- server_operation_index=None
- server_operation_variables=None
- ssl_ca_cert=None
-
access_tokenaccess token for OAuth/Bearer -
assert_hostnameSet this to True/False to enable/disable SSL hostname verification. -
cert_fileclient certificate file -
connection_pool_maxsizeurllib3 connection pool’s maximum number of connections saved per pool. urllib3 uses 1 connection as default value, but this is not the best value when you are making a lot of possibly parallel requests to the same host, which is often the case here. cpu_count * 5 is used as default value to increase performance. -
debugDebug switch -
hostReturn generated host. -
key_fileclient key file -
loggerLogging Settings -
logger_fileDebug file location -
logger_file_handlerLog file handler -
logger_formatLog format -
logger_stream_handlerLog stream handler -
passwordPassword for HTTP basic authentication -
proxyProxy URL -
proxy_headersProxy headers -
refresh_api_key_hookfunction hook to refresh API key if expired -
retriesAdding retries to override urllib3 default value 3 -
safe_chars_for_path_paramSafe chars for path_param -
server_operation_indexDefault server index -
server_operation_variablesDefault server variables -
socket_optionsOptions to pass down to the underlying urllib3 socket -
ssl_ca_certSet this to customize the certificate file to verify the peer. -
temp_folder_pathTemp file folder for downloading files -
usernameUsername for HTTP basic authentication -
verify_sslSSL/TLS verification Set this to false to skip verifying SSL certificate when calling API from https server.
Static methods
get_default
get_default_copy
get_default instead.
Deprecated. Please use get_default instead.
set_default
- default
Methods
auth_settings
- self
get_api_key_with_prefix
- self
- identifier
- alias=None
get_basic_auth_token
- self
get_host_from_settings
- self
- index
- variables=None
- servers=None
get_host_settings
- self
to_debug_report
- self
