10.4.4. Loaders for all API Clients

pytan3.api_clients.load_type(obj='soap')[source]

Get a ApiClient by type from ApiClient.get_type().

Parameters:obj (str, optional) –

ApiClient type to load.

Defaults to: DEFAULT_TYPE.

Raises
exceptions.ModuleError:
Unable to find a valid ApiClient with the supplied type.
Returns:ApiClient
pytan3.api_clients.load(obj='soap')[source]

Get a ApiClient by name from ApiClient.get_name().

Parameters:obj (str or ApiClient or ApiClient, optional) –

ApiClient object, class, or name.

Defaults to: DEFAULT_NAME.

Raises
exceptions.ModuleError:
Unable to find a valid ApiClient with the supplied name.
Returns:ApiClient