class_docstr: InitialTagCreateRequest
class_docstr_tok: ["InitialTagCreateRequest"]
docstr: Create an instance of InitialTagCreateRequest from a dict
docstr_tok: ["Create","an","instance","of","InitialTagCreateRequest","from","a","dict"]
code: def from_dict(cls, obj: dict) -> InitialTagCreateRequest:
      """Create an instance of InitialTagCreateRequest from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return InitialTagCreateRequest.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 InitialTagCreateRequest) in the input: "
                  + str(obj)
              )
  
      _obj = InitialTagCreateRequest.parse_obj(
          {
              "name": obj.get("name"),
              "creator": obj.get("creator"),
              "img_type": obj.get("imgType"),
              "run_id": obj.get("runId"),
          }
      )
      return _obj
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, constr, validator
  from lightly.openapi_generated.swagger_client.models.image_type import ImageType
  from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator
label_desc: Use image node_id 7 for calling the InitialTagCreateRequest obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, InitialTagCreateRequest