def METHOD_NAME(self, data, **kwargs):
    # Removing params override from context so that overriding is done once on the yaml
    # child schema should not override the params.
    params_override = self.context.pop(PARAMS_OVERRIDE_KEY, None)
    if params_override is not None:
        for override in params_override:
            for param, val in override.items():
                # Check that none of the intermediary levels are string references (azureml/file)
                param_tokens = param.split(".")
                test_layer = data
                for layer in param_tokens:
                    if test_layer is None:
                        continue
                    if isinstance(test_layer, str):
                        raise Exception(
                            f"Cannot use '--set' on properties defined by reference strings: --set {param}"
                        )
                    test_layer = test_layer.get(layer, None)
                objects.set_(data, param, val)
    return data