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.
@@ -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
- # Store copy of the config as runtime config
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 self.__config.items() if k != 'path'}
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 = self.__config.get('path', {})
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 self.__config.items() if k != 'path'}
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
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.634.0"
8
+ VERSION = "0.635.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.634.0
3
+ Version: 0.635.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
@@ -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=DTg5NdUcW9ACtXNF53KOzfRcqck3JlhjwHTpCzb8wE0,91465
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=2u03E596rKTeHd7PSCHu1sFCOs1DeAICYgWPH437NKY,4089
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.634.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
407
- orionis-0.634.0.dist-info/METADATA,sha256=AWSbDqTVxG2q4LtH6EG3F-9SENQYjx4gUsRztYNScUo,4772
408
- orionis-0.634.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
409
- orionis-0.634.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
410
- orionis-0.634.0.dist-info/RECORD,,
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,,