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

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

        _obj = DockerWorkerConfigV3LightlyCollate.parse_obj({
            "input_size": obj.get("inputSize"),
            "cj_prob": obj.get("cjProb"),
            "cj_bright": obj.get("cjBright"),
            "cj_contrast": obj.get("cjContrast"),
            "cj_sat": obj.get("cjSat"),
            "cj_hue": obj.get("cjHue"),
            "min_scale": obj.get("minScale"),
            "random_gray_scale": obj.get("randomGrayScale"),
            "gaussian_blur": obj.get("gaussianBlur"),
            "kernel_size": obj.get("kernelSize"),
            "sigmas": obj.get("sigmas"),
            "vf_prob": obj.get("vfProb"),
            "hf_prob": obj.get("hfProb"),
            "rr_prob": obj.get("rrProb"),
            "rr_degrees": obj.get("rrDegrees")
        })
        return _obj
Create an instance of DockerWorkerConfigV3LightlyCollate from a dict
lightly/openapi_generated/swagger_client/models/docker_worker_config_v3_lightly_collate.py