edri.utility.manager package

Submodules

edri.utility.manager.scheduler module

class edri.utility.manager.scheduler.Job(event: Event, when: datetime, repeat: timedelta | None = None)[source]

Bases: object

Represents a scheduled task within the scheduler.

The Job dataclass intentionally does not normalize its own values. Time normalization is handled by Scheduler when accepting external input, so Job remains a simple internal data object.

Attributes:
  • event (Event) -- The event to be triggered when the job is executed.

  • when (datetime) -- The timezone-aware time at which the job should be executed.

  • repeat (Optional[timedelta]) -- How often the job should repeat. If None, the job does not repeat.

repeat: timedelta | None = None

edri.utility.manager.store module

class edri.utility.manager.store.Callback(condition: Callable[[Any], bool] | None)[source]

Bases: object

Module contents