Skip to content

Taipy.core.tag

Add a tag to a scenario.

This function adds a user-defined tag to the specified scenario. If another scenario within the same cycle already has the same tag applied, the previous scenario is untagged.

Parameters:

Name Type Description Default
scenario Scenario

The scenario to which the tag will be added.

required
tag str

The tag to apply to the scenario.

required