orionis 0.120.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/framework.py CHANGED
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.120.0"
8
+ VERSION = "0.122.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -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 not valid.")
34
- raise OrionisContainerException("The application context is not valid.")
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
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.120.0
3
+ Version: 0.122.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -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=vACtGvknK0F8NRmt2aJ7rQGnVemYoNSvdFSORPYPFUc,1387
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
@@ -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=9IZhzOGdBxDz0jhW2wuKo-jE5v5D2cFB9CfBI-vgfYI,1580
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.120.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
178
- orionis-0.120.0.dist-info/METADATA,sha256=3cPIb6ViplhLBj-kvVCAaHrD1Ip5tCtyX5HxlXsKM0s,2979
179
- orionis-0.120.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
180
- orionis-0.120.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
181
- orionis-0.120.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
182
- orionis-0.120.0.dist-info/RECORD,,
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,,