orionis 0.634.0__py3-none-any.whl → 0.635.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/foundation/application.py +10 -4
- orionis/metadata/framework.py +1 -1
- {orionis-0.634.0.dist-info → orionis-0.635.0.dist-info}/METADATA +1 -1
- {orionis-0.634.0.dist-info → orionis-0.635.0.dist-info}/RECORD +7 -7
- {orionis-0.634.0.dist-info → orionis-0.635.0.dist-info}/WHEEL +0 -0
- {orionis-0.634.0.dist-info → orionis-0.635.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.634.0.dist-info → orionis-0.635.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
+
import copy
|
|
2
3
|
import time
|
|
3
4
|
from pathlib import Path
|
|
4
5
|
from typing import Any, List, Type, Dict
|
|
@@ -1919,12 +1920,14 @@ class Application(Container, IApplication):
|
|
|
1919
1920
|
if not self.__config:
|
|
1920
1921
|
self.__config = Configuration().toDict()
|
|
1921
1922
|
|
|
1922
|
-
#
|
|
1923
|
+
# Create a deep copy of the current configuration
|
|
1924
|
+
local_config_copy = copy.deepcopy(self.__config)
|
|
1925
|
+
|
|
1923
1926
|
# Copy all config except the 'path' key
|
|
1924
|
-
self.__runtime_config = {k: v for k, v in
|
|
1927
|
+
self.__runtime_config = {k: v for k, v in local_config_copy.items() if k != 'path'}
|
|
1925
1928
|
|
|
1926
1929
|
# Copy contains only the 'path' key
|
|
1927
|
-
self.__runtime_path_config =
|
|
1930
|
+
self.__runtime_path_config = local_config_copy.get('path', {})
|
|
1928
1931
|
|
|
1929
1932
|
except Exception as e:
|
|
1930
1933
|
|
|
@@ -2029,8 +2032,11 @@ class Application(Container, IApplication):
|
|
|
2029
2032
|
Returns the current `Application` instance to enable method chaining.
|
|
2030
2033
|
"""
|
|
2031
2034
|
|
|
2035
|
+
# Create a deep copy of the current configuration
|
|
2036
|
+
local_config_copy = copy.deepcopy(self.__config)
|
|
2037
|
+
|
|
2032
2038
|
# Reset the runtime configuration to match the current config (excluding 'path')
|
|
2033
|
-
self.__runtime_config = {k: v for k, v in
|
|
2039
|
+
self.__runtime_config = {k: v for k, v in local_config_copy.items() if k != 'path'}
|
|
2034
2040
|
|
|
2035
2041
|
# Return the application instance for method chaining
|
|
2036
2042
|
return self
|
orionis/metadata/framework.py
CHANGED
|
@@ -103,7 +103,7 @@ orionis/failure/contracts/handler.py,sha256=AeJfkJfD3hTkOIYAtADq6GnQfq-qWgDfUc7b
|
|
|
103
103
|
orionis/failure/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
104
|
orionis/failure/entities/throwable.py,sha256=1zD-awcuAyEtlR-L7V7ZIfPSF4GpXkf-neL5sXul7dc,1240
|
|
105
105
|
orionis/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
orionis/foundation/application.py,sha256=
|
|
106
|
+
orionis/foundation/application.py,sha256=3wmAQDbgG80zetsPZEnjKUKC9526X_zAyza-3ztHpJ8,91678
|
|
107
107
|
orionis/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
108
108
|
orionis/foundation/config/startup.py,sha256=btqvryeIf9lLNQ9fBff7bJMrfraEY8qrWi4y_5YAR0Q,9681
|
|
109
109
|
orionis/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -216,7 +216,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=IrPQJwvQVLRm5Qnz0Cxon4
|
|
|
216
216
|
orionis/foundation/providers/testing_provider.py,sha256=eI1p2lUlxl25b5Z487O4nmqLE31CTDb4c3Q21xFadkE,1615
|
|
217
217
|
orionis/foundation/providers/workers_provider.py,sha256=GdHENYV_yGyqmHJHn0DCyWmWId5xWjD48e6Zq2PGCWY,1674
|
|
218
218
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
219
|
-
orionis/metadata/framework.py,sha256=
|
|
219
|
+
orionis/metadata/framework.py,sha256=KOtw1BH_m9cgO6c7vrxSR24_M0pZ3LlS0LAgOhpSVIY,4089
|
|
220
220
|
orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
|
|
221
221
|
orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
222
222
|
orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -403,8 +403,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
|
|
|
403
403
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
404
|
orionis/test/view/render.py,sha256=R55ykeRs0wDKcdTf4O1YZ8GDHTFmJ0IK6VQkbJkYUvo,5571
|
|
405
405
|
orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
|
|
406
|
-
orionis-0.
|
|
407
|
-
orionis-0.
|
|
408
|
-
orionis-0.
|
|
409
|
-
orionis-0.
|
|
410
|
-
orionis-0.
|
|
406
|
+
orionis-0.635.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
|
407
|
+
orionis-0.635.0.dist-info/METADATA,sha256=K3DnJRtRPUGs6E5EUQIcwcfxO8lNx8y5J78fjm_I9BE,4772
|
|
408
|
+
orionis-0.635.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
409
|
+
orionis-0.635.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
|
|
410
|
+
orionis-0.635.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|