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

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

        _obj = LabelBoxV4DataRow.parse_obj({
            "row_data": obj.get("row_data"),
            "global_key": obj.get("global_key"),
            "media_type": obj.get("media_type")
        })
        return _obj
Create an instance of LabelBoxV4DataRow from a dict
lightly/openapi_generated/swagger_client/models/label_box_v4_data_row.py