orionis 0.524.0__py3-none-any.whl → 0.526.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.
@@ -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
- # No additional fields or methods are defined here, as this class
24
- # serves as a marker for the resumed scheduler event.
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
- # This class does not define additional attributes or methods. It serves as a
23
- # specific type of event data for the scheduler shutdown event.
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
- # This class does not define additional attributes or methods; it serves as a marker for the event.
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