class_docstr: Lightly configurations which are passed to a Lightly Worker run. For information about the options see https://docs.lightly.ai/docs/all-configuration-options#run-configuration. 
class_docstr_tok: ["Lightly","configurations","which","are","passed","to","a","Lightly","Worker","run",".","For","information","about","the","options","see","https",":","\/\/docs.lightly.ai\/docs\/all-configuration-options","#","run-configuration","."]
docstr: Create an instance of DockerWorkerConfigV3Lightly from a dict
docstr_tok: ["Create","an","instance","of","DockerWorkerConfigV3Lightly","from","a","dict"]
code: def from_dict(cls, obj: dict) -> DockerWorkerConfigV3Lightly:
      """Create an instance of DockerWorkerConfigV3Lightly from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return DockerWorkerConfigV3Lightly.parse_obj(obj)
  
      # raise errors for additional fields in the input
      for _key in obj.keys():
          if _key not in cls.__properties:
              raise ValueError(
                  "Error due to additional fields (not defined in DockerWorkerConfigV3Lightly) in the input: "
                  + str(obj)
              )
  
      _obj = DockerWorkerConfigV3Lightly.parse_obj(
          {
              "seed": obj.get("seed"),
              "checkpoint_callback": DockerWorkerConfigV3LightlyCheckpointCallback.from_dict(
                  obj.get("checkpointCallback")
              )
              if obj.get("checkpointCallback") is not None
              else None,
              "loader": DockerWorkerConfigV3LightlyLoader.from_dict(
                  obj.get("loader")
              )
              if obj.get("loader") is not None
              else None,
              "model": DockerWorkerConfigV3LightlyModel.from_dict(
                  obj.get("model")
              )
              if obj.get("model") is not None
              else None,
              "trainer": DockerWorkerConfigV3LightlyTrainer.from_dict(
                  obj.get("trainer")
              )
              if obj.get("trainer") is not None
              else None,
              "criterion": DockerWorkerConfigV3LightlyCriterion.from_dict(
                  obj.get("criterion")
              )
              if obj.get("criterion") is not None
              else None,
              "optimizer": DockerWorkerConfigV3LightlyOptimizer.from_dict(
                  obj.get("optimizer")
              )
              if obj.get("optimizer") is not None
              else None,
              "collate": DockerWorkerConfigV3LightlyCollate.from_dict(
                  obj.get("collate")
              )
              if obj.get("collate") is not None
              else None,
          }
      )
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictInt
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_checkpoint_callback import DockerWorkerConfigV3LightlyCheckpointCallback
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_collate import DockerWorkerConfigV3LightlyCollate
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_criterion import DockerWorkerConfigV3LightlyCriterion
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_loader import DockerWorkerConfigV3LightlyLoader
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_model import DockerWorkerConfigV3LightlyModel
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_optimizer import DockerWorkerConfigV3LightlyOptimizer
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_lightly_trainer import DockerWorkerConfigV3LightlyTrainer
label_desc: Use image node_id 5 for calling the DockerWorkerConfigV3Lightly obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, DockerWorkerConfigV3Lightly