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

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

        _obj = LabelStudioTaskData.parse_obj({
            "image": obj.get("image"),
            "lightly_file_name": obj.get("lightlyFileName"),
            "lightly_meta_info": SampleData.from_dict(obj.get("lightlyMetaInfo")) if obj.get("lightlyMetaInfo") is not None else None
        })
        return _obj
Create an instance of LabelStudioTaskData from a dict
lightly/openapi_generated/swagger_client/models/label_studio_task_data.py