class_docstr: DockerWorkerConfigV2
class_docstr_tok: ["DockerWorkerConfigV2"]
docstr: Create an instance of DockerWorkerConfigV2 from a JSON string
docstr_tok: ["Create","an","instance","of","DockerWorkerConfigV2","from","a","JSON","string"]
code: def from_json(cls, json_str: str) -> DockerWorkerConfigV2:
      """Create an instance of DockerWorkerConfigV2 from a JSON string"""
      return cls.from_dict(json.loads(json_str))
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/docker_worker_config_v2.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_docker import DockerWorkerConfigV2Docker
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v2_lightly import DockerWorkerConfigV2Lightly
  from lightly.openapi_generated.swagger_client.models.docker_worker_type import DockerWorkerType
  from lightly.openapi_generated.swagger_client.models.selection_config import SelectionConfig
label_desc: Use image node_id 3 for calling the DockerWorkerConfigV2 obj's underlying member method code with example usage: obj.from_json(cls, json_str) and returns: cls