Skip to content

Taipy.core.is promotable

Determine if a scenario can be promoted to become a primary scenario.

This function checks whether the given scenario is eligible to be promoted as a primary scenario.

Parameters:

Name Type Description Default
scenario Union[Scenario, ScenarioId]

The scenario to be evaluated for promotability.

required

Returns:

Type Description
bool

True if the given scenario can be promoted to be a primary scenario. False otherwise.