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

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

        _obj = JobStatusMeta.parse_obj({
            "total": obj.get("total"),
            "processed": obj.get("processed"),
            "upload_method": obj.get("uploadMethod"),
            "is_registered": obj.get("isRegistered")
        })
        return _obj
Create an instance of JobStatusMeta from a dict
lightly/openapi_generated/swagger_client/models/job_status_meta.py