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

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

        _obj = DockerWorkerConfigV3Data.parse_obj({
            "id": obj.get("id"),
            "version": obj.get("version"),
            "created_at": obj.get("createdAt"),
            "config": DockerWorkerConfigV3.from_dict(obj.get("config")) if obj.get("config") is not None else None,
            "config_orig": DockerWorkerConfigV3.from_dict(obj.get("configOrig")) if obj.get("configOrig") is not None else None
        })
        return _obj
Create an instance of DockerWorkerConfigV3Data from a dict
lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_data.py