orionis 0.118.0__py3-none-any.whl → 0.120.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.
@@ -1,5 +1,5 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Any, Dict, Optional
2
+ from typing import Any, Dict
3
3
 
4
4
  class IConfigBootstrapper(ABC):
5
5
  """
orionis/framework.py CHANGED
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.118.0"
8
+ VERSION = "0.120.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -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.
@@ -1,6 +1,5 @@
1
1
  from typing import Dict
2
2
  from orionis.contracts.foundation.environment.i_environment_bootstrapper import IEnvironmentBootstrapper
3
- from orionis.luminate.facades.app_facade import app
4
3
  from orionis.luminate.services.environment.environment_service import EnvironmentService
5
4
 
6
5
  class EnvironmentBootstrapper(IEnvironmentBootstrapper):
@@ -44,7 +43,7 @@ class EnvironmentBootstrapper(IEnvironmentBootstrapper):
44
43
  If the file does not exist, it creates an empty `.env` file. If the file exists,
45
44
  it loads the environment variables into the `_environment_vars` dictionary.
46
45
  """
47
- environment_service : EnvironmentService = app(EnvironmentService)
46
+ environment_service = EnvironmentService()
48
47
  self._environment_vars = environment_service.all()
49
48
 
50
49
  def get(self, key: str = None) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.118.0
3
+ Version: 0.120.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=CwlBrDVhyaftcrZrIgLMXY4SiwIeBe2U3abJxlJ71lc,1387
3
+ orionis/framework.py,sha256=vACtGvknK0F8NRmt2aJ7rQGnVemYoNSvdFSORPYPFUc,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=d2TXT74H2fCBbzWgrt9-ZG11S_H_YPQOEcJoIOrsgb0,4462
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=C2zBPly4MQYdzb8f7Y1oZTY9iEgGvWiM7UqG37yNimI,14122
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
@@ -122,7 +122,7 @@ orionis/luminate/foundation/config/config_bootstrapper.py,sha256=42OIgBLX0R2hW0w
122
122
  orionis/luminate/foundation/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
123
123
  orionis/luminate/foundation/console/command_bootstrapper.py,sha256=7m_lME1qou9fpy3U7OGArO6KhU448qA-oTB4tVxosTs,7057
124
124
  orionis/luminate/foundation/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
- orionis/luminate/foundation/environment/environment_bootstrapper.py,sha256=m-oDogGnmbtTDOCqpw05UsCf2Ckp8jq96IVh4fIG3_E,2797
125
+ orionis/luminate/foundation/environment/environment_bootstrapper.py,sha256=OyOA8T44_zzA1Ykj9YAuGOY7zuEKHRdUYMvPeUEy750,2720
126
126
  orionis/luminate/foundation/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
127
  orionis/luminate/foundation/exceptions/exception_bootstrapper.py,sha256=wDKfEW295c7-bavr7YUHK2CLYcTSZgjT9ZRSBne6GOE,1356
128
128
  orionis/luminate/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.118.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
178
- orionis-0.118.0.dist-info/METADATA,sha256=eoRNnaZ0KCzJSKRQbEwAojumJl50xURx913p7ulKM3s,2979
179
- orionis-0.118.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
180
- orionis-0.118.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
181
- orionis-0.118.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
182
- orionis-0.118.0.dist-info/RECORD,,
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,,