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
Create an instance of DatasetDataEnriched from a dict
lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py