class_docstr: TagCreateRequest
class_docstr_tok: ["TagCreateRequest"]
docstr: Create an instance of TagCreateRequest from a dict
docstr_tok: ["Create","an","instance","of","TagCreateRequest","from","a","dict"]
code: def from_dict(cls, obj: dict) -> TagCreateRequest:
      """Create an instance of TagCreateRequest from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return TagCreateRequest.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 TagCreateRequest) in the input: "
                  + str(obj)
              )
  
      _obj = TagCreateRequest.parse_obj(
          {
              "name": obj.get("name"),
              "prev_tag_id": obj.get("prevTagId"),
              "query_tag_id": obj.get("queryTagId"),
              "preselected_tag_id": obj.get("preselectedTagId"),
              "bit_mask_data": obj.get("bitMaskData"),
              "tot_size": obj.get("totSize"),
              "creator": obj.get("creator"),
              "changes": TagChangeData.from_dict(obj.get("changes"))
              if obj.get("changes") is not None
              else None,
              "run_id": obj.get("runId"),
          }
      )
      return _obj
  
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictInt, constr, validator
  from lightly.openapi_generated.swagger_client.models.tag_change_data import TagChangeData
  from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator
label_desc: Use image node_id 11 for calling the TagCreateRequest obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, TagCreateRequest