benchling_sdk.services.base_service module

class BaseService

Bases: abc.ABC

Abstract class for Benchling functional namespaces.

__init__(client: Client, retry_strategy: RetryStrategy = RetryStrategy())

Initialize a service.

Parameters
  • client – Underlying generated Client.

  • retry_strategy – Retry strategy for failed HTTP calls

property client: Client

Provide access to the underlying generated Benchling Client.

property retry_strategy: RetryStrategy

Provide access to the underlying user-specified RetryStrategy.