class_docstr: DockerWorkerConfigV3DockerDatasource
class_docstr_tok: ["DockerWorkerConfigV3DockerDatasource"]
docstr: Create an instance of DockerWorkerConfigV3DockerDatasource from a JSON string
docstr_tok: ["Create","an","instance","of","DockerWorkerConfigV3DockerDatasource","from","a","JSON","string"]
code: def from_json(
      cls, json_str: str
  ) -> DockerWorkerConfigV3DockerDatasource:
      """Create an instance of DockerWorkerConfigV3DockerDatasource 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_datasource.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictBool
  from lightly.openapi_generated.swagger_client.models.docker_worker_config_v3_datasource_input_expiration import DockerWorkerConfigV3DatasourceInputExpiration
label_desc: Use image node_id 3 for calling the DockerWorkerConfigV3DockerDatasource obj's underlying member method code with example usage: obj.from_json(cls, json_str) and returns: cls