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.
- orionis/contracts/foundation/config/i_config_bootstrapper.py +1 -1
- orionis/framework.py +1 -1
- orionis/luminate/application.py +4 -3
- orionis/luminate/foundation/environment/environment_bootstrapper.py +1 -2
- {orionis-0.118.0.dist-info → orionis-0.120.0.dist-info}/METADATA +1 -1
- {orionis-0.118.0.dist-info → orionis-0.120.0.dist-info}/RECORD +10 -10
- {orionis-0.118.0.dist-info → orionis-0.120.0.dist-info}/LICENCE +0 -0
- {orionis-0.118.0.dist-info → orionis-0.120.0.dist-info}/WHEEL +0 -0
- {orionis-0.118.0.dist-info → orionis-0.120.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.118.0.dist-info → orionis-0.120.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.
|
@@ -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
|
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
|
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=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=
|
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
|
@@ -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=
|
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.
|
178
|
-
orionis-0.
|
179
|
-
orionis-0.
|
180
|
-
orionis-0.
|
181
|
-
orionis-0.
|
182
|
-
orionis-0.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|