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_token
access token for OAuth/Bearer -
assert_hostname
Set this to True/False to enable/disable SSL hostname verification. -
cert_file
client certificate file -
connection_pool_maxsize
urllib3 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. -
debug
Debug switch -
host
Return generated host. -
key_file
client key file -
logger
Logging Settings -
logger_file
Debug file location -
logger_file_handler
Log file handler -
logger_format
Log format -
logger_stream_handler
Log stream handler -
password
Password for HTTP basic authentication -
proxy
Proxy URL -
proxy_headers
Proxy headers -
refresh_api_key_hook
function hook to refresh API key if expired -
retries
Adding retries to override urllib3 default value 3 -
safe_chars_for_path_param
Safe chars for path_param -
server_operation_index
Default server index -
server_operation_variables
Default server variables -
socket_options
Options to pass down to the underlying urllib3 socket -
ssl_ca_cert
Set this to customize the certificate file to verify the peer. -
temp_folder_path
Temp file folder for downloading files -
username
Username for HTTP basic authentication -
verify_ssl
SSL/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