orionis 0.554.0__py3-none-any.whl → 0.556.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/contracts/executor.py +3 -3
- orionis/console/fluent/event.py +2 -1
- orionis/console/tasks/schedule.py +8 -7
- orionis/metadata/framework.py +1 -1
- {orionis-0.554.0.dist-info → orionis-0.556.0.dist-info}/METADATA +1 -1
- {orionis-0.554.0.dist-info → orionis-0.556.0.dist-info}/RECORD +9 -9
- {orionis-0.554.0.dist-info → orionis-0.556.0.dist-info}/WHEEL +0 -0
- {orionis-0.554.0.dist-info → orionis-0.556.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.554.0.dist-info → orionis-0.556.0.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@ from abc import ABC, abstractmethod
|
|
3
3
|
class IExecutor(ABC):
|
4
4
|
|
5
5
|
@abstractmethod
|
6
|
-
def running(self, program: str, time: str = ''):
|
6
|
+
def running(self, program: str, time: str = '') -> None:
|
7
7
|
"""
|
8
8
|
Logs the execution of a program in a "RUNNING" state with console output formatting.
|
9
9
|
|
@@ -33,7 +33,7 @@ class IExecutor(ABC):
|
|
33
33
|
pass
|
34
34
|
|
35
35
|
@abstractmethod
|
36
|
-
def done(self, program: str, time: str = ''):
|
36
|
+
def done(self, program: str, time: str = '') -> None:
|
37
37
|
"""
|
38
38
|
Logs the execution of a program in a "DONE" state with console output formatting.
|
39
39
|
|
@@ -63,7 +63,7 @@ class IExecutor(ABC):
|
|
63
63
|
pass
|
64
64
|
|
65
65
|
@abstractmethod
|
66
|
-
def fail(self, program: str, time: str = ''):
|
66
|
+
def fail(self, program: str, time: str = '') -> None:
|
67
67
|
"""
|
68
68
|
Logs the execution of a program in a "FAIL" state with console output formatting.
|
69
69
|
|
orionis/console/fluent/event.py
CHANGED
@@ -4076,7 +4076,8 @@ class Event(IEvent):
|
|
4076
4076
|
|
4077
4077
|
# Build human-readable description
|
4078
4078
|
parts = []
|
4079
|
-
if day_of_week:
|
4079
|
+
if day_of_week:
|
4080
|
+
parts.append(f"on {day_of_week}")
|
4080
4081
|
if hour is not None and minute is not None:
|
4081
4082
|
parts.append(f"at {hour}:{minute.zfill(2)}")
|
4082
4083
|
elif hour is not None:
|
@@ -1229,7 +1229,7 @@ class Schedule(ISchedule):
|
|
1229
1229
|
self.__scheduler.remove_job("scheduler_pause_at")
|
1230
1230
|
|
1231
1231
|
# If the job doesn't exist, it's fine to proceed
|
1232
|
-
|
1232
|
+
finally:
|
1233
1233
|
pass
|
1234
1234
|
|
1235
1235
|
# Add a job to the scheduler to pause it at the specified datetime
|
@@ -1340,7 +1340,7 @@ class Schedule(ISchedule):
|
|
1340
1340
|
self.__scheduler.remove_job("scheduler_resume_at")
|
1341
1341
|
|
1342
1342
|
# If the job doesn't exist, it's fine to proceed
|
1343
|
-
|
1343
|
+
finally:
|
1344
1344
|
pass
|
1345
1345
|
|
1346
1346
|
# Add a job to the scheduler to resume it at the specified datetime
|
@@ -1431,7 +1431,7 @@ class Schedule(ISchedule):
|
|
1431
1431
|
self.__scheduler.remove_job("scheduler_shutdown_at")
|
1432
1432
|
|
1433
1433
|
# If the job doesn't exist, it's fine to proceed
|
1434
|
-
|
1434
|
+
finally:
|
1435
1435
|
pass
|
1436
1436
|
|
1437
1437
|
# Add a job to the scheduler to shut it down at the specified datetime
|
@@ -1474,7 +1474,7 @@ class Schedule(ISchedule):
|
|
1474
1474
|
try:
|
1475
1475
|
|
1476
1476
|
# Ensure the method is called within an asyncio event loop
|
1477
|
-
|
1477
|
+
asyncio.get_running_loop()
|
1478
1478
|
|
1479
1479
|
# Create an asyncio event to manage clean shutdowns
|
1480
1480
|
self._stop_event = asyncio.Event()
|
@@ -1814,7 +1814,8 @@ class Schedule(ISchedule):
|
|
1814
1814
|
# Return True to indicate the pause job was successfully cancelled
|
1815
1815
|
return True
|
1816
1816
|
|
1817
|
-
|
1817
|
+
finally:
|
1818
|
+
|
1818
1819
|
# Return False if the pause job does not exist or an error occurred
|
1819
1820
|
return False
|
1820
1821
|
|
@@ -1852,7 +1853,7 @@ class Schedule(ISchedule):
|
|
1852
1853
|
# Return True to indicate the resume job was successfully cancelled
|
1853
1854
|
return True
|
1854
1855
|
|
1855
|
-
|
1856
|
+
finally:
|
1856
1857
|
|
1857
1858
|
# Return False if the resume job does not exist or an error occurred
|
1858
1859
|
return False
|
@@ -1891,7 +1892,7 @@ class Schedule(ISchedule):
|
|
1891
1892
|
# Return True to indicate the shutdown job was successfully cancelled
|
1892
1893
|
return True
|
1893
1894
|
|
1894
|
-
|
1895
|
+
finally:
|
1895
1896
|
|
1896
1897
|
# Return False if the shutdown job does not exist or an error occurred
|
1897
1898
|
return False
|
orionis/metadata/framework.py
CHANGED
@@ -26,7 +26,7 @@ orionis/console/contracts/command.py,sha256=BOfRGpLRMsRS_a58584uO-MPK1UZGkmefLbF
|
|
26
26
|
orionis/console/contracts/console.py,sha256=phaQhCLWa81MLzB5ydOSaUfEIdDq7fOjvym8Rmi-arc,11908
|
27
27
|
orionis/console/contracts/debug.py,sha256=tEdF3_HJwDAgccXVEk_LGf43Am2ylbcx9i0Qvj3MFyU,1011
|
28
28
|
orionis/console/contracts/event.py,sha256=Iu03z04ujkiYl6DksYT8QVXSJGabd5T_5dT67UozeCw,119978
|
29
|
-
orionis/console/contracts/executor.py,sha256=
|
29
|
+
orionis/console/contracts/executor.py,sha256=JAzK64_5HfIGm3_BwsUv7-ZeC2Y-3mpxOByHaXwuy9A,4278
|
30
30
|
orionis/console/contracts/kernel.py,sha256=mh4LlhEYHh3FuGZZQ0GBhD6ZLa5YQvaNj2r01IIHI5Y,826
|
31
31
|
orionis/console/contracts/progress_bar.py,sha256=NYebL2h-vg2t2H6IhJjuC37gglRkpT-MW71wbJtpLNg,1784
|
32
32
|
orionis/console/contracts/reactor.py,sha256=iT6ShoCutAWEeJzOf_PK7CGXi9TgrOD5tewHFVQ2NQw,6075
|
@@ -75,14 +75,14 @@ orionis/console/exceptions/cli_runtime_error.py,sha256=DaCDGu6mXBk1LIzc7cwRROw1m
|
|
75
75
|
orionis/console/exceptions/cli_schedule_exception.py,sha256=IBbXb_5zi02pyo1laHdjGn6FYZK7WWRp4j2fkZOCT6I,1161
|
76
76
|
orionis/console/fluent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
77
|
orionis/console/fluent/command.py,sha256=ayEh2fH83pCITyYUXHvt2jEgjMU63zdgRRYVdvUgFvk,8195
|
78
|
-
orionis/console/fluent/event.py,sha256=
|
78
|
+
orionis/console/fluent/event.py,sha256=kEynb0mQDyEiTiEnctoJoPizFfe0TkySOsMaECob3UY,166495
|
79
79
|
orionis/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
80
|
orionis/console/output/console.py,sha256=EtSDWRBW8wk0iJdPfB1mzU49krLJBaSAUdVdVOzzhQ4,17888
|
81
81
|
orionis/console/output/executor.py,sha256=uQjFPOlyZLFj9pcyYPugCqxwJog0AJgK1OcmQH2ELbw,7314
|
82
82
|
orionis/console/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
83
|
orionis/console/request/cli_request.py,sha256=zFuoFzLVDCcSNcJZAuLAlsc9jfhck5o23qaKc2C0QAg,13231
|
84
84
|
orionis/console/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
85
|
-
orionis/console/tasks/schedule.py,sha256=
|
85
|
+
orionis/console/tasks/schedule.py,sha256=qFnzoLyK69iaKEWMfEVxLs3S9aWVRzD4G6emTFhJMaY,83386
|
86
86
|
orionis/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
87
87
|
orionis/container/container.py,sha256=9beW1IQzgZkgVIMo0ePBAkTz7bnNz3GNZZDRogMp8AI,96902
|
88
88
|
orionis/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -241,7 +241,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
|
|
241
241
|
orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
|
242
242
|
orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
|
243
243
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
244
|
-
orionis/metadata/framework.py,sha256=
|
244
|
+
orionis/metadata/framework.py,sha256=R1nK2-BR1VAivtC1O-FCqsXGzJfmZ-RFa2TFTzvEGOc,4109
|
245
245
|
orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
|
246
246
|
orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
247
247
|
orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -433,8 +433,8 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
|
|
433
433
|
orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
|
434
434
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
435
435
|
orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
|
436
|
-
orionis-0.
|
437
|
-
orionis-0.
|
438
|
-
orionis-0.
|
439
|
-
orionis-0.
|
440
|
-
orionis-0.
|
436
|
+
orionis-0.556.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
437
|
+
orionis-0.556.0.dist-info/METADATA,sha256=heWvipEiKyN3eHoYvsFvfxbE3sLnhBsJqEFameaolbM,4801
|
438
|
+
orionis-0.556.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
439
|
+
orionis-0.556.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
|
440
|
+
orionis-0.556.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|