assets_guardian.plugins.dolibarr.client

Classes

DolibarrClientProvider(config)

Client provider for Dolibarr using HttpClient.

class assets_guardian.plugins.dolibarr.client.DolibarrClientProvider(config: dict[str, Any])[source]

Bases: IClientProvider

Client provider for Dolibarr using HttpClient.

Initialize the client provider with the instance’s configuration dictionary.

health_check() bool[source]

Verifies that the connection to Dolibarr works and the API key is valid.

instantiate_client() HttpClient[source]

Returns an HttpClient configured with the Dolibarr DOLAPIKEY.