class_docstr: Subclass of ApiClient with patches to make the client picklable.
  
  Uses a LightlySwaggerRESTClientObject instead of RESTClientObject for additional
  patches. See LightlySwaggerRESTClientObject for details.
  
  
  Attributes:
      configuration:
          Configuration.
      timeout:
          Timeout in seconds. Is either a single total_timeout value or a
          (connect_timeout, read_timeout) tuple. No timeout is applied if the
          value is None.
          See https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html?highlight=timeout#urllib3.util.Timeout
          for details on the different values.
      header_name:
          A header to pass when making calls to the API.
      header_value:
          A header value to pass when making calls to the API.
      cookie:
          A cookie to include in the header when making calls to the API.
code: def __init__(
      self,
      configuration: Configuration,
      timeout: Union[None, int, Tuple[int, int]] = DEFAULT_API_TIMEOUT,
      header_name: Union[str, None] = None,
      header_value: Union[str, None] = None,
      cookie: Union[str, None] = None,
  ):
      super().__init__(
          configuration=configuration,
          header_name=header_name,
          header_value=header_value,
          cookie=cookie,
      )
      self.rest_client = LightlySwaggerRESTClientObject(
          configuration=configuration, timeout=timeout
      )
  
file_path: lightly/lightly/api/swagger_api_client.py
imports: from typing import Any, Dict, Tuple, Union
  from lightly.api.swagger_rest_client import LightlySwaggerRESTClientObject
  from lightly.openapi_generated.swagger_client.api_client import ApiClient, Configuration
label_desc: Use image node_id 1 to create a new LightlySwaggerApiClient object from inherited base classes: PatchApiClientMixin, ApiClient with example: obj = LightlySwaggerApiClient(configuration, timeout, header_name, header_value, cookie)