orionis 0.544.0__py3-none-any.whl → 0.546.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/request/cli_request.py +2 -2
- orionis/foundation/providers/cli_request_provider.py +44 -0
- orionis/metadata/framework.py +1 -1
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/METADATA +1 -1
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/RECORD +9 -8
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/WHEEL +0 -0
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/top_level.txt +0 -0
- {orionis-0.544.0.dist-info → orionis-0.546.0.dist-info}/zip-safe +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from orionis.console.contracts.cli_request import ICLIRequest
|
|
2
|
+
from orionis.console.request.cli_request import CLIRequest
|
|
3
|
+
from orionis.container.providers.service_provider import ServiceProvider
|
|
4
|
+
|
|
5
|
+
class CLRequestProvider(ServiceProvider):
|
|
6
|
+
"""
|
|
7
|
+
Service provider for registering CLI request services in the Orionis framework.
|
|
8
|
+
|
|
9
|
+
This provider handles the registration and binding of CLI request interfaces
|
|
10
|
+
to their concrete implementations within the application container.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def register(self) -> None:
|
|
14
|
+
"""
|
|
15
|
+
Register CLI request services in the application container.
|
|
16
|
+
|
|
17
|
+
Binds the ICLIRequest interface to the CLIRequest implementation as a
|
|
18
|
+
transient service, making it available for dependency injection throughout
|
|
19
|
+
the application with the specified alias.
|
|
20
|
+
|
|
21
|
+
Returns
|
|
22
|
+
-------
|
|
23
|
+
None
|
|
24
|
+
This method does not return any value.
|
|
25
|
+
"""
|
|
26
|
+
# Register CLIRequest as a transient service bound to ICLIRequest interface
|
|
27
|
+
# Transient services create a new instance each time they are resolved
|
|
28
|
+
self.app.transient(ICLIRequest, CLIRequest, alias="x-orionis.console.request.cli_request")
|
|
29
|
+
|
|
30
|
+
def boot(self) -> None:
|
|
31
|
+
"""
|
|
32
|
+
Perform any necessary bootstrapping after service registration.
|
|
33
|
+
|
|
34
|
+
This method is called after all services have been registered and can be
|
|
35
|
+
used to perform additional setup or configuration tasks. Currently, no
|
|
36
|
+
bootstrapping logic is required for CLI request services.
|
|
37
|
+
|
|
38
|
+
Returns
|
|
39
|
+
-------
|
|
40
|
+
None
|
|
41
|
+
This method does not return any value.
|
|
42
|
+
"""
|
|
43
|
+
# No bootstrapping logic required for CLI request services
|
|
44
|
+
pass
|
orionis/metadata/framework.py
CHANGED
|
@@ -80,7 +80,7 @@ orionis/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
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
|
-
orionis/console/request/cli_request.py,sha256=
|
|
83
|
+
orionis/console/request/cli_request.py,sha256=0LuSuovIJn6BF3HfDHihVZRmMTss-xd21dvUYCuMF3I,9079
|
|
84
84
|
orionis/console/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
orionis/console/tasks/schedule.py,sha256=FgZWJtfXRcZ_-FfJaxP1LzHmDtm5QD9QRRCJ--QMqK8,83385
|
|
86
86
|
orionis/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -227,6 +227,7 @@ orionis/foundation/exceptions/type.py,sha256=Ug51YdaUKUlbngR0KeWnJNqIwS9StP4ScVo
|
|
|
227
227
|
orionis/foundation/exceptions/value.py,sha256=hQhXybXEnaa59ba7JxG65jceHt3mnql9MyekF-TChpM,465
|
|
228
228
|
orionis/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
229
229
|
orionis/foundation/providers/catch_provider.py,sha256=jLEFyHeyqCWgIJfqSfXrbRm9h6M6M5IkW8M_9o_NvCQ,1701
|
|
230
|
+
orionis/foundation/providers/cli_request_provider.py,sha256=hTBhBRr9TZhER3Lw7q2mNXRbG_BKl-WEuvV0R1bPjbs,1758
|
|
230
231
|
orionis/foundation/providers/console_provider.py,sha256=p4XucSau5Nc8-u2xbVg2LAXDC9UXo6qhHD58u1g2T4Q,2963
|
|
231
232
|
orionis/foundation/providers/directory_provider.py,sha256=17Euot2Eahe8DjK0zK2uC3c8gPua4eux3q-MKcomDYU,2091
|
|
232
233
|
orionis/foundation/providers/dumper_provider.py,sha256=mWBfnZUo-AKPEz1_Ele3lgaqR4bOcA8msvjV9KKZJQk,3348
|
|
@@ -240,7 +241,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
|
|
|
240
241
|
orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
|
|
241
242
|
orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
|
|
242
243
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
243
|
-
orionis/metadata/framework.py,sha256=
|
|
244
|
+
orionis/metadata/framework.py,sha256=POdws21N2BbLOVlk9KMaBmScjWHhYsmtQlLU-bXzc6s,4109
|
|
244
245
|
orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
|
|
245
246
|
orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
246
247
|
orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -431,7 +432,7 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
|
|
|
431
432
|
orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
|
|
432
433
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
433
434
|
orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
|
|
434
|
-
orionis-0.
|
|
435
|
+
orionis-0.546.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
|
435
436
|
tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
436
437
|
tests/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
437
438
|
tests/container/context/test_manager.py,sha256=wOwXpl9rHNfTTexa9GBKYMwK0_-KSQPbI-AEyGNkmAE,1356
|
|
@@ -577,8 +578,8 @@ tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
577
578
|
tests/testing/validators/test_testing_validators.py,sha256=WPo5GxTP6xE-Dw3X1vZoqOMpb6HhokjNSbgDsDRDvy4,16588
|
|
578
579
|
tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
579
580
|
tests/testing/view/test_render.py,sha256=tnnMBwS0iKUIbogLvu-7Rii50G6Koddp3XT4wgdFEYM,1050
|
|
580
|
-
orionis-0.
|
|
581
|
-
orionis-0.
|
|
582
|
-
orionis-0.
|
|
583
|
-
orionis-0.
|
|
584
|
-
orionis-0.
|
|
581
|
+
orionis-0.546.0.dist-info/METADATA,sha256=3Xo0oyRfbPnIrjL2PWCabk-8zdOHbKNTeqXc8cvKcrA,4801
|
|
582
|
+
orionis-0.546.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
583
|
+
orionis-0.546.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
|
584
|
+
orionis-0.546.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
585
|
+
orionis-0.546.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|