orionis 0.120.0__py3-none-any.whl → 0.124.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/framework.py +1 -1
- orionis/luminate/facades/app_facade.py +2 -3
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/METADATA +1 -1
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/RECORD +8 -8
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/LICENCE +0 -0
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/WHEEL +0 -0
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.120.0.dist-info → orionis-0.124.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
@@ -2,7 +2,6 @@ from typing import Any
|
|
2
2
|
from orionis.luminate.application import app_booted
|
3
3
|
from orionis.luminate.console.output.console import Console
|
4
4
|
from orionis.luminate.container.container import Container
|
5
|
-
from orionis.luminate.container.exception import OrionisContainerException
|
6
5
|
|
7
6
|
def app(concrete: Any = None):
|
8
7
|
"""
|
@@ -30,8 +29,8 @@ def app(concrete: Any = None):
|
|
30
29
|
If `concrete` is not bound to the container.
|
31
30
|
"""
|
32
31
|
if not app_booted():
|
33
|
-
Console.error("The application context is
|
34
|
-
raise
|
32
|
+
Console.error("The application context is invalid. Use <with app_context() as cxt:> or ensure that the application is running before using the facades.")
|
33
|
+
raise SystemExit(1)
|
35
34
|
|
36
35
|
# Create a new container instance
|
37
36
|
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=X_3WZc98t_NZHfbZvzOxOFHR7CUaqAreFdFW6FMS7Nc,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
|
@@ -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=gS6vQ6Mg-A6wtz09V86u_YPYz2RvqOKNQOPMkYjxubI,1550
|
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.124.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
178
|
+
orionis-0.124.0.dist-info/METADATA,sha256=XUNzZ4Co4Q9CzlTICmxDkxHZCudHNJP5aMUA1M4kvMI,2979
|
179
|
+
orionis-0.124.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
180
|
+
orionis-0.124.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
181
|
+
orionis-0.124.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
182
|
+
orionis-0.124.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|