benchling_sdk.services.v2.base_service module¶

class BaseService¶

Bases: abc.ABC

Abstract class for Benchling functional namespaces.

__init__(client: benchling_api_client.v2.client.Client, retry_strategy: Optional[RetryStrategy] = None)¶

Initialize a service.

Parameters
  • client – Underlying generated Client.

  • retry_strategy – Retry strategy for failed HTTP calls

property client: benchling_api_client.v2.client.Client¶

Provide access to the underlying generated Benchling Client.

property retry_strategy: RetryStrategy¶

Provide access to the underlying user-specified RetryStrategy.