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

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

        _obj = DockerWorkerConfigV2DockerDatasource.parse_obj({
            "bypass_verify": obj.get("bypassVerify"),
            "enable_datapool_update": obj.get("enableDatapoolUpdate"),
            "process_all": obj.get("processAll")
        })
        return _obj
Create an instance of DockerWorkerConfigV2DockerDatasource from a dict
lightly/openapi_generated/swagger_client/models/docker_worker_config_v2_docker_datasource.py