class_docstr: Images that expire in less than the specified number of days are handled specially. Given the handling strategy, these images are either skipped or the worker breaks if encountering any of them. 
class_docstr_tok: ["Images","that","expire","in","less","than","the","specified","number","of","days","are","handled","specially",".","Given","the","handling","strategy",",","these","images","are","either","skipped","or","the","worker","breaks","if","encountering","any","of","them","."]
docstr: Create an instance of DockerWorkerConfigV3DatasourceInputExpiration from a JSON string
docstr_tok: ["Create","an","instance","of","DockerWorkerConfigV3DatasourceInputExpiration","from","a","JSON","string"]
code: def from_json(
      cls, json_str: str
  ) -> DockerWorkerConfigV3DatasourceInputExpiration:
      """Create an instance of DockerWorkerConfigV3DatasourceInputExpiration 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_datasource_input_expiration.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Union
  from pydantic import Extra, BaseModel, Field, confloat, conint
  from lightly.openapi_generated.swagger_client.models.expiry_handling_strategy_v3 import ExpiryHandlingStrategyV3
label_desc: Use image node_id 3 for calling the DockerWorkerConfigV3DatasourceInputExpiration obj's underlying member method code with example usage: obj.from_json(cls, json_str) and returns: cls