class_docstr: SelectionConfigV3EntryStrategy
docstr: Create an instance of SelectionConfigV3EntryStrategy from a dict
docstr_tok: ["Create","an","instance","of","SelectionConfigV3EntryStrategy","from","a","dict"]
code: def from_dict(cls, obj: dict) -> SelectionConfigV3EntryStrategy:
      """Create an instance of SelectionConfigV3EntryStrategy from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return SelectionConfigV3EntryStrategy.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 SelectionConfigV3EntryStrategy) in the input: "
                  + str(obj)
              )
  
      _obj = SelectionConfigV3EntryStrategy.parse_obj(
          {
              "type": obj.get("type"),
              "stopping_condition_minimum_distance": obj.get(
                  "stopping_condition_minimum_distance"
              ),
              "threshold": obj.get("threshold"),
              "operation": obj.get("operation"),
              "target": obj.get("target"),
              "num_nearest_neighbors": obj.get("numNearestNeighbors"),
              "stopping_condition_minimum_typicality": obj.get(
                  "stoppingConditionMinimumTypicality"
              ),
              "strength": obj.get("strength"),
              "stopping_condition_max_sum": obj.get(
                  "stoppingConditionMaxSum"
              ),
              "target_range": SelectionConfigV3EntryStrategyAllOfTargetRange.from_dict(
                  obj.get("targetRange")
              )
              if obj.get("targetRange") is not None
              else None,
          }
      )
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/selection_config_v3_entry_strategy.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Any, Dict, Optional, Union
  from pydantic import Extra, BaseModel, Field, StrictFloat, StrictInt, confloat, conint
  from lightly.openapi_generated.swagger_client.models.selection_config_v3_entry_strategy_all_of_target_range import SelectionConfigV3EntryStrategyAllOfTargetRange
  from lightly.openapi_generated.swagger_client.models.selection_strategy_threshold_operation import SelectionStrategyThresholdOperation
  from lightly.openapi_generated.swagger_client.models.selection_strategy_type_v3 import SelectionStrategyTypeV3
label_desc: Use image node_id 5 for calling the SelectionConfigV3EntryStrategy obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, SelectionConfigV3EntryStrategy