orionis 0.524.0__py3-none-any.whl → 0.525.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- orionis/console/base/scheduler_event_listener.py +82 -53
- orionis/console/contracts/schedule_event_listener.py +58 -174
- orionis/console/entities/event_job.py +60 -0
- orionis/console/entities/scheduler_error.py +19 -0
- orionis/console/entities/scheduler_event_data.py +1 -6
- orionis/console/entities/scheduler_paused.py +2 -2
- orionis/console/entities/scheduler_resumed.py +2 -2
- orionis/console/entities/scheduler_shutdown.py +3 -3
- orionis/console/entities/scheduler_started.py +3 -2
- orionis/console/tasks/schedule.py +329 -182
- orionis/metadata/framework.py +1 -1
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/METADATA +1 -1
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/RECORD +17 -15
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/WHEEL +0 -0
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/top_level.txt +0 -0
- {orionis-0.524.0.dist-info → orionis-0.525.0.dist-info}/zip-safe +0 -0
|
@@ -20,5 +20,5 @@ class SchedulerResumed(SchedulerEventData):
|
|
|
20
20
|
An instance of the `SchedulerResumed` class representing
|
|
21
21
|
the resumed scheduler event.
|
|
22
22
|
"""
|
|
23
|
-
|
|
24
|
-
#
|
|
23
|
+
|
|
24
|
+
time: str # The time when the scheduler was resumed
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from dataclasses import dataclass
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
2
|
from orionis.console.entities.scheduler_event_data import SchedulerEventData
|
|
3
3
|
|
|
4
4
|
@dataclass(kw_only=True)
|
|
@@ -19,5 +19,5 @@ class SchedulerShutdown(SchedulerEventData):
|
|
|
19
19
|
SchedulerShutdown
|
|
20
20
|
An instance of the `SchedulerShutdown` class representing the shutdown event.
|
|
21
21
|
"""
|
|
22
|
-
|
|
23
|
-
#
|
|
22
|
+
time: str = "" # The time when the scheduler started
|
|
23
|
+
tasks: list = field(default_factory=list) # List of tasks scheduled at the time of start
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from dataclasses import dataclass
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
2
|
from orionis.console.entities.scheduler_event_data import SchedulerEventData
|
|
3
3
|
|
|
4
4
|
@dataclass(kw_only=True)
|
|
@@ -18,4 +18,5 @@ class SchedulerStarted(SchedulerEventData):
|
|
|
18
18
|
SchedulerStarted
|
|
19
19
|
An instance of the `SchedulerStarted` class, representing the scheduler start event.
|
|
20
20
|
"""
|
|
21
|
-
|
|
21
|
+
time: str = "" # The time when the scheduler started
|
|
22
|
+
tasks: list = field(default_factory=list) # List of tasks scheduled at the time of start
|