Module
Experiment Tags functionality for managing tags on experiments.ExperimentTagsAPIException
Exception raised when experiment tags operations fail.ExperimentTag
Wrapper class for experiment tags that provides additional functionality.ExperimentTags
delete_experiment_tag
project_id: The project IDexperiment_id: The experiment IDtag_id: The tag ID to delete
ExperimentTagsAPIException: If the API call failsValueError: If the experiment or tag is not found
dict[str, str]: Success message
get_experiment_tags
Parameters
project_id The project ID experiment_id The experiment IDReturns
list[ExperimentTag] List of tags associated with the experimentRaises
ExperimentTagsAPIException If the API call fails ValueError If the experiment is not foundupsert_experiment_tag
project_id: The project IDexperiment_id: The experiment IDkey: The tag keyvalue: The tag valuetag_type: The type of tag (default: “generic”)
ExperimentTagsAPIException: If the API call failsValueError: If the experiment is not found
ExperimentTag: The created or updated tag
delete_experiment_tag
project_id: The project IDexperiment_id: The experiment IDtag_id: The tag ID to delete
ExperimentTagsAPIException: If the API call failsValueError: If the experiment or tag is not found
dict[str, str]: Success message
get_experiment_tags
project_id: The project IDexperiment_id: The experiment ID
ExperimentTagsAPIException: If the API call failsValueError: If the experiment is not found
list[ExperimentTag]: List of tags associated with the experiment
upsert_experiment_tag
project_id: The project IDexperiment_id: The experiment IDkey: The tag keyvalue: The tag valuetag_type: The type of tag (default: “generic”)
ExperimentTagsAPIException: If the API call failsValueError: If the experiment is not found
ExperimentTag: The created or updated tag