class_docstr: DatasetDataEnriched
docstr: Create an instance of DatasetDataEnriched from a dict
docstr_tok: ["Create","an","instance","of","DatasetDataEnriched","from","a","dict"]
code: def from_dict(cls, obj: dict) -> DatasetDataEnriched:
      """Create an instance of DatasetDataEnriched from a dict"""
      if obj is None:
          return None
  
      if not isinstance(obj, dict):
          return DatasetDataEnriched.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 DatasetDataEnriched) in the input: "
                  + str(obj)
              )
  
      _obj = DatasetDataEnriched.parse_obj(
          {
              "id": obj.get("id"),
              "name": obj.get("name"),
              "user_id": obj.get("userId"),
              "access_type": obj.get("accessType"),
              "type": obj.get("type"),
              "img_type": obj.get("imgType"),
              "n_samples": obj.get("nSamples"),
              "size_in_bytes": obj.get("sizeInBytes"),
              "created_at": obj.get("createdAt"),
              "last_modified_at": obj.get("lastModifiedAt"),
              "meta_data_configuration_id": obj.get(
                  "metaDataConfigurationId"
              ),
              "access_role": obj.get("accessRole"),
              "datasources": obj.get("datasources"),
              "parent_dataset_id": obj.get("parentDatasetId"),
              "original_dataset_id": obj.get("originalDatasetId"),
              "samples": obj.get("samples"),
              "n_tags": obj.get("nTags"),
              "n_embeddings": obj.get("nEmbeddings"),
          }
      )
      return _obj
  
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import List, Optional
  from pydantic import Extra, BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator
  from lightly.openapi_generated.swagger_client.models.dataset_type import DatasetType
  from lightly.openapi_generated.swagger_client.models.image_type import ImageType
  from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType
label_desc: Use image node_id 11 for calling the DatasetDataEnriched obj's underlying member method code with example usage: obj.from_dict(cls, obj) and returns: _obj, None, DatasetDataEnriched