ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class CalendarCronTrigger(CronTrigger): (source)

View In Hierarchy

Choose the first occurrence of each existing local cron time.

A forward clock change skips nonexistent matches. A backward change schedules each repeated wall time once.

Method _getNextFireTime Find the next cron match within the task's scheduling window.
Class Variable __slots__ Reserve storage for the cached calendar trigger.
Instance Variable _calendar Cached UTC trigger that searches the task's cron fields by wall time.
def _getNextFireTime(self, previous_fire_time: datetime | None, now: datetime) -> datetime | None: (source)

Find the next cron match within the task's scheduling window.

Parameters
previous_fire_time:datetime.datetime or NoneLast scheduled instant, or None before the first run.
now:datetime.datetimeScheduler clock used to find the first run.
Returns
datetime.datetime or NoneNext run in the task zone after any jitter, or None when exhausted.
__slots__: tuple[str, ...] = (source)

Reserve storage for the cached calendar trigger.

_calendar: CronTrigger = (source)

Cached UTC trigger that searches the task's cron fields by wall time.