orionis 0.54.0__py3-none-any.whl → 0.56.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- orionis/framework.py +1 -1
- orionis/luminate/facades/environment/environment_facade.py +2 -2
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/METADATA +1 -1
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/RECORD +8 -8
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/LICENCE +0 -0
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/WHEEL +0 -0
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.54.0.dist-info → orionis-0.56.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
@@ -26,9 +26,9 @@ def env(key: str, default=None) -> str:
|
|
26
26
|
The value of the environment variable, or the default value if the variable
|
27
27
|
does not exist.
|
28
28
|
"""
|
29
|
-
return
|
29
|
+
return Env().get(key, default)
|
30
30
|
|
31
|
-
class
|
31
|
+
class Env(IEnv):
|
32
32
|
"""
|
33
33
|
A thread-safe singleton class that manages environment variables from a .env file.
|
34
34
|
"""
|
@@ -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=8hBzbeYv75ZZ3G8XYRcJI_n2XpjCzctK6sd9FiYhdX8,1386
|
4
4
|
orionis/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orionis/contracts/bootstrap/i_command_bootstrapper.py,sha256=kdabnjTRXcab0Kelcst8MhuJ_iP0XX8taChMupwzF1M,1901
|
6
6
|
orionis/contracts/bootstrap/i_config_bootstrapper.py,sha256=x38bXXX49ASm5yZ0O6vwssmtiLMsF-fkxFcq-Cqf5GM,3480
|
@@ -101,7 +101,7 @@ orionis/luminate/facades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
101
101
|
orionis/luminate/facades/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
102
102
|
orionis/luminate/facades/config/config_facade.py,sha256=GLQ6JiD2dB7WLyhUZ4SGBSNo7VuwHpX_QrrQcvjoAi8,1429
|
103
103
|
orionis/luminate/facades/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
104
|
-
orionis/luminate/facades/environment/environment_facade.py,sha256=
|
104
|
+
orionis/luminate/facades/environment/environment_facade.py,sha256=AzaaQaOz8scgSCVi3liyLaBI_nXhZR2deLFhOQ2nmhU,4191
|
105
105
|
orionis/luminate/facades/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
106
106
|
orionis/luminate/facades/files/path_facade.py,sha256=uWU8_-iaMGBWuVxbk_MoTm0FVFq25F_ub-ObvrtceHg,8987
|
107
107
|
orionis/luminate/facades/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -144,9 +144,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
144
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
145
145
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
146
146
|
tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
|
147
|
-
orionis-0.
|
148
|
-
orionis-0.
|
149
|
-
orionis-0.
|
150
|
-
orionis-0.
|
151
|
-
orionis-0.
|
152
|
-
orionis-0.
|
147
|
+
orionis-0.56.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
148
|
+
orionis-0.56.0.dist-info/METADATA,sha256=lEuikqLbJZ2w43uTNwbHO_PG3QB1wwtb7UBPwfKtdyM,2978
|
149
|
+
orionis-0.56.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
150
|
+
orionis-0.56.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
151
|
+
orionis-0.56.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
152
|
+
orionis-0.56.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|