orionis 0.119.0__py3-none-any.whl → 0.122.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/contracts/foundation/config/i_config_bootstrapper.py +1 -1
- orionis/framework.py +1 -1
- orionis/luminate/application.py +4 -3
- orionis/luminate/facades/app_facade.py +2 -2
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/METADATA +1 -1
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/RECORD +10 -10
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/LICENCE +0 -0
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/WHEEL +0 -0
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.119.0.dist-info → orionis-0.122.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
orionis/luminate/application.py
CHANGED
@@ -225,15 +225,16 @@ class Application(metaclass=SingletonMeta):
|
|
225
225
|
5. Loading command-line interface commands.
|
226
226
|
After these steps, the application is marked as booted.
|
227
227
|
"""
|
228
|
+
# Mark the application as booted
|
229
|
+
Application.started()
|
230
|
+
|
231
|
+
# Bootstrapping process
|
228
232
|
self._bootServices()
|
229
233
|
self._beforeBootstrapProviders()
|
230
234
|
self._bootstrapping()
|
231
235
|
self._afterBootstrapProviders()
|
232
236
|
self._loadCommands()
|
233
237
|
|
234
|
-
# Mark the application as booted
|
235
|
-
Application.started()
|
236
|
-
|
237
238
|
def _bootServices(self):
|
238
239
|
"""
|
239
240
|
Bootstraps the application services.
|
@@ -30,8 +30,8 @@ def app(concrete: Any = None):
|
|
30
30
|
If `concrete` is not bound to the container.
|
31
31
|
"""
|
32
32
|
if not app_booted():
|
33
|
-
Console.error("The application context is
|
34
|
-
raise
|
33
|
+
Console.error("The application context is invalid. Use <with app_context() as cxt:> or ensure that the application is running before using the facades.")
|
34
|
+
raise SystemExit(1)
|
35
35
|
|
36
36
|
# Create a new container instance
|
37
37
|
container : Container = Container()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/cli_manager.py,sha256=0bM-hABXJSoPGuvEgnqeaj9qcLP8VjTQ3z9Mb0TSEUI,1381
|
3
|
-
orionis/framework.py,sha256=
|
3
|
+
orionis/framework.py,sha256=veVn-WcofpLr-XNkgq91fOxbQNGLP3-eJheQ2mLd14k,1387
|
4
4
|
orionis/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orionis/contracts/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
orionis/contracts/config/i_config.py,sha256=rbeojO2gm8XhSXIPY8EnUt4e0wO633OKF9Nx_tN5y60,785
|
@@ -34,7 +34,7 @@ orionis/contracts/facades/tests/i_tests_facade.py,sha256=GM6d9skPZwynx1lu_abfuJ_
|
|
34
34
|
orionis/contracts/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
35
|
orionis/contracts/foundation/i_bootstraper.py,sha256=9IFxjUW5akHTUb_BLwxiy88OIJkl0bptUOBVdfnk2PU,1165
|
36
36
|
orionis/contracts/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
|
-
orionis/contracts/foundation/config/i_config_bootstrapper.py,sha256=
|
37
|
+
orionis/contracts/foundation/config/i_config_bootstrapper.py,sha256=c_79hlGIO25NQn5ERnLdBKrqDxNga-c14xLuLG2m1C0,4452
|
38
38
|
orionis/contracts/foundation/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
39
|
orionis/contracts/foundation/console/i_command_bootstrapper.py,sha256=cfpYWSlNhOY1q_C9o0H7F381OoM0Oh0qaeqP-c85nzk,2457
|
40
40
|
orionis/contracts/foundation/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -67,7 +67,7 @@ orionis/installer/installer_manager.py,sha256=Hb6T0bmSl39T30maY-nUWkrLhG77JdrKe4
|
|
67
67
|
orionis/installer/installer_output.py,sha256=LeKxzuXpnHOKbKpUtx3tMGkCi2bGcPV1VNnfBxwfxUU,7161
|
68
68
|
orionis/installer/installer_setup.py,sha256=c2HtVklSa-2_-YVonc7fwtoK-RTDqBS2Ybvbekgfqtc,6970
|
69
69
|
orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
70
|
-
orionis/luminate/application.py,sha256=
|
70
|
+
orionis/luminate/application.py,sha256=tHaNSQFzz9c1JXdXflwaJomzldCVE3FTQMClV7GkX3E,14155
|
71
71
|
orionis/luminate/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
72
|
orionis/luminate/config/app.py,sha256=7teuVPuaV2ao0M5Bv-jhSgjEwb9DtVwde2saTRmYru4,1737
|
73
73
|
orionis/luminate/config/auth.py,sha256=CG8F0pfVjKz4DY3d1Wi7gscdhnp4TT-Q8SJ2sdsHh18,523
|
@@ -102,7 +102,7 @@ orionis/luminate/container/container.py,sha256=kg1zrvlMrzYCrORbDZ12JVZJ_z81gLDUp
|
|
102
102
|
orionis/luminate/container/exception.py,sha256=ap1SqYEjQEEHXJJTNmL7V1jrmRjgT5_7geZ95MYkhMA,1691
|
103
103
|
orionis/luminate/container/types.py,sha256=BDcXN0__voRNHZ5Gr5dF0sWIYAQyNk4TxAwILBWyDAA,1735
|
104
104
|
orionis/luminate/facades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105
|
-
orionis/luminate/facades/app_facade.py,sha256=
|
105
|
+
orionis/luminate/facades/app_facade.py,sha256=K26YerPcgZwqVyiYciVlHyfBQRo6hsvGWh2byqgFze0,1626
|
106
106
|
orionis/luminate/facades/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
107
|
orionis/luminate/facades/commands/commands_facade.py,sha256=eY1Y0BDRWHQAUoUg6YjCDkty4dj2Hbq_suQdKYu3f_Y,1568
|
108
108
|
orionis/luminate/facades/commands/scheduler_facade.py,sha256=f4OYlWywSzqBYbQBQlBlMd-wZ8RAl5dKsiFAjpzcqEo,1439
|
@@ -174,9 +174,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
174
174
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
175
175
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
176
176
|
tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
|
177
|
-
orionis-0.
|
178
|
-
orionis-0.
|
179
|
-
orionis-0.
|
180
|
-
orionis-0.
|
181
|
-
orionis-0.
|
182
|
-
orionis-0.
|
177
|
+
orionis-0.122.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
178
|
+
orionis-0.122.0.dist-info/METADATA,sha256=029iizCWO-RnI1w4Iwwhcc1fkMY8ne-rahm7zMb7TFA,2979
|
179
|
+
orionis-0.122.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
180
|
+
orionis-0.122.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
181
|
+
orionis-0.122.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
182
|
+
orionis-0.122.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|