ibm_aigov_facts_client.utils.validation module

is_string_type(item)
writeable_value(tag_value)
path_not_unique(name)
bad_path_message(name)
validate_run_id(run_id)

Check that run_id is a valid run ID and raise an exception if it isn’t.

validate_metric(key, value, timestamp, step)

Check that a param with the specified key, value, timestamp is valid and raise an exception if it isn’t.

validate_param(key, value)

Check that a param with the specified key & value is valid and raise an exception if it isn’t.

validate_tag(key, value)

Check that a tag with the specified key & value is valid and raise an exception if it isn’t.

validate_experiment_tag(key, value)

Check that a tag with the specified key & value is valid and raise an exception if it isn’t.

validate_new_param_value(param_path, param_key, run_id, new_value)

When logging a parameter with a key that already exists, this function is used to enforce immutability by verifying that the specified parameter value matches the existing value. :raises: py:class:mlflow.exceptions.MlflowException if the specified new parameter value

does not match the existing parameter value.