Skip to content

Taipy.core.set primary

Promote a scenario as the primary scenario of its cycle.

This function promotes the given scenario as the primary scenario of its associated cycle. If the cycle already has a primary scenario, that scenario is demoted and is no longer considered the primary scenario for its cycle.

Parameters:

Name Type Description Default
scenario Scenario

The scenario to promote as the new primary scenario.

required