AAS HTTP Client Documentation
Loading...
Searching...
No Matches
aas_client.py File Reference

Go to the source code of this file.

Classes

class  aas_client.AasHttpClient
 Represents a AasHttpClient to communicate with a REST API. More...
 

Namespaces

namespace  aas_client
 

Functions

AasHttpClient|None aas_client.create_client_by_url (str base_url, str basic_auth_username="", str basic_auth_password="", str o_auth_client_id="", str o_auth_client_secret="", str o_auth_token_url="", str bearer_auth_token="", str http_proxy="", str https_proxy="", int time_out=200, int connection_time_out=60, bool ssl_verify=True, bool trust_env=True, bool encoded_ids=True)
 Create a HTTP client for a AAS server connection from the given parameters.
 
AasHttpClient|None aas_client.create_client_by_dict (dict configuration, str basic_auth_password="", str o_auth_client_secret="", str bearer_auth_token="")
 Create a HTTP client for a AAS server connection from the given configuration.
 
AasHttpClient|None aas_client.create_client_by_config (Path config_file, str basic_auth_password="", str o_auth_client_secret="", str bearer_auth_token="")
 Create a HTTP client for a AAS server connection from a given configuration file.
 
AasHttpClient|None aas_client._create_client (str config_string, str basic_auth_password, str o_auth_client_secret, str bearer_auth_token)
 Create and initialize an AAS HTTP client from configuration string.
 
bool aas_client._connect_to_api (AasHttpClient client)
 Test the connection to the AAS server API with retry logic.
 

Variables

 aas_client.logger = logging.getLogger(__name__)