Skip to content

taipy.core.config.Frequency

Bases: _ReprEnum

Frequency of the recurrence of Cycle and Scenario objects.

The frequency must be provided in the ScenarioConfig.

Each recurrent scenario is attached to the cycle corresponding to the creation date and the frequency. In other words, each cycle represents an iteration and contains the various scenarios created during this iteration.

For instance, when scenarios have a MONTHLY frequency, one cycle will be created for each month (January, February, March, etc.). A new scenario created on February 10th, gets attached to the February cycle.

The frequency is implemented as an enumeration with the following possible values:

  • With a DAILY frequency, a new cycle is created for each day.

  • With a WEEKLY frequency, a new cycle is created for each week (from Monday to Sunday).

  • With a MONTHLY frequency, a new cycle is created for each month.

  • With a QUARTERLY frequency, a new cycle is created for each quarter.

  • With a YEARLY frequency, a new cycle is created for each year.