def from_dict(cls, obj: dict) -> DatasetEmbeddingData:
        """Create an instance of DatasetEmbeddingData from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return DatasetEmbeddingData.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 DatasetEmbeddingData) in the input: " + str(obj))

        _obj = DatasetEmbeddingData.parse_obj({
            "id": obj.get("id"),
            "name": obj.get("name"),
            "is_processed": obj.get("isProcessed"),
            "created_at": obj.get("createdAt"),
            "is2d": obj.get("is2d")
        })
        return _obj
Create an instance of DatasetEmbeddingData from a dict
lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py