Skip to content

Taipy.core.get primary

Retrieve the primary scenario associated with a cycle.

Parameters:

Name Type Description Default
cycle Cycle

The cycle for which to retrieve the primary scenario.

required

Returns:

Type Description
Optional[Scenario]

The primary scenario of the given cycle. If the cycle has no primary scenario, this method returns None.