orionis 0.40.0__py3-none-any.whl → 0.41.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/orionis.py +4 -3
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/METADATA +1 -1
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/RECORD +8 -8
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/LICENCE +0 -0
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/WHEEL +0 -0
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.40.0.dist-info → orionis-0.41.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
orionis/luminate/orionis.py
CHANGED
@@ -62,6 +62,7 @@ class Orionis(metaclass=SingletonMeta):
|
|
62
62
|
self.container.make(Bootstrapper)
|
63
63
|
|
64
64
|
self.is_started = True
|
65
|
+
OrionisContext().is_started = True
|
65
66
|
|
66
67
|
return self
|
67
68
|
|
@@ -127,11 +128,11 @@ class Orionis(metaclass=SingletonMeta):
|
|
127
128
|
class OrionisContext(metaclass=SingletonMeta):
|
128
129
|
|
129
130
|
def __init__(self):
|
130
|
-
self.
|
131
|
+
self.is_started = False
|
131
132
|
|
132
133
|
def __enter__(self):
|
133
|
-
if self.
|
134
|
-
return
|
134
|
+
if self.is_started:
|
135
|
+
return Orionis()
|
135
136
|
raise Exception(
|
136
137
|
"Error: Not running within a valid Orionis Framework context. "
|
137
138
|
"Please ensure that you are using the proper context manager."
|
@@ -1,8 +1,8 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/cli_manager.py,sha256=9wNVJxB0HyqUbNesUvkwlsqTyUbZwK6R46iVLE5WVBQ,1715
|
3
|
-
orionis/framework.py,sha256=
|
3
|
+
orionis/framework.py,sha256=QNUxBn1Jbt-I_q5oRxU6SFR2XUkJIi_wkUbotEZfiU8,1386
|
4
4
|
orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
orionis/luminate/orionis.py,sha256=
|
5
|
+
orionis/luminate/orionis.py,sha256=ZIvcgUotEzBJ3XyCOb99U_t6-sj0eMFguICIOjWdrZ8,4553
|
6
6
|
orionis/luminate/bootstrap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
orionis/luminate/bootstrap/cli_exception.py,sha256=wDKfEW295c7-bavr7YUHK2CLYcTSZgjT9ZRSBne6GOE,1356
|
8
8
|
orionis/luminate/bootstrap/commands/bootstrapper.py,sha256=TuXuQUzeaiDL8sJyZNdqnFl2h2MfxcnSU045IeIKVQE,4016
|
@@ -147,9 +147,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
147
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
148
148
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
149
149
|
tests/tools/test_reflection.py,sha256=dNN5p_xAosyEf0ddAElmmmTfhcTtBd4zBNl7qzgnsc0,5242
|
150
|
-
orionis-0.
|
151
|
-
orionis-0.
|
152
|
-
orionis-0.
|
153
|
-
orionis-0.
|
154
|
-
orionis-0.
|
155
|
-
orionis-0.
|
150
|
+
orionis-0.41.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
151
|
+
orionis-0.41.0.dist-info/METADATA,sha256=WY13y9zN_a8QUXtxurKKCk09yjsYHrkBUaLUhuDOfWU,2978
|
152
|
+
orionis-0.41.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
153
|
+
orionis-0.41.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
154
|
+
orionis-0.41.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
155
|
+
orionis-0.41.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|