class_docstr: SelectionConfigEntryInput
class_docstr_tok: ["SelectionConfigEntryInput"]
docstr: Create an instance of SelectionConfigEntryInput from a dict
docstr_tok: ["Create","an","instance","of","SelectionConfigEntryInput","from","a","dict"]
code: def from_dict(cls, obj: dict) -> SelectionConfigEntryInput:
      """Create an instance of SelectionConfigEntryInput from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return SelectionConfigEntryInput.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 SelectionConfigEntryInput) in the input: "
                  + str(obj)
              )
  
      _obj = SelectionConfigEntryInput.parse_obj(
          {
              "type": obj.get("type"),
              "task": obj.get("task"),
              "score": obj.get("score"),
              "key": obj.get("key"),
              "name": obj.get("name"),
              "dataset_id": obj.get("datasetId"),
              "tag_name": obj.get("tagName"),
              "random_seed": obj.get("randomSeed"),
              "categories": obj.get("categories"),
          }
      )
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import List, Optional
  from pydantic import Extra, BaseModel, Field, StrictInt, conlist, constr, validator
  from lightly.openapi_generated.swagger_client.models.selection_input_predictions_name import SelectionInputPredictionsName
  from lightly.openapi_generated.swagger_client.models.selection_input_type import SelectionInputType
label_desc: Use image node_id 9 for calling the SelectionConfigEntryInput obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, SelectionConfigEntryInput