class_docstr: docker run configurations, keys should match the structure of https://github.com/lightly-ai/lightly-core/blob/develop/onprem-docker/lightly_worker/src/lightly_worker/resources/docker/docker.yaml 
class_docstr_tok: ["docker","run","configurations",",","keys","should","match","the","structure","of","https",":","\/\/github.com\/lightly-ai\/lightly-core\/blob\/develop\/onprem-docker\/lightly_worker\/src\/lightly_worker\/resources\/docker\/docker.yaml"]
docstr: Create an instance of DockerWorkerConfigV3Docker from a JSON string
docstr_tok: ["Create","an","instance","of","DockerWorkerConfigV3Docker","from","a","JSON","string"]
code: def from_json(cls, json_str: str) -> DockerWorkerConfigV3Docker:
      """Create an instance of DockerWorkerConfigV3Docker from a JSON string"""
      return cls.from_dict(json.loads(json_str))
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_docker.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictBool, StrictStr, conint, constr, validator
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_corruptness_check import DockerWorkerConfigV3DockerCorruptnessCheck
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_datasource import DockerWorkerConfigV3DockerDatasource
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_docker_training import DockerWorkerConfigV3DockerTraining
label_desc: Use image node_id 4 for calling the DockerWorkerConfigV3Docker obj's underlying member method code with example usage: obj.from_json(cls, json_str) and returns: cls