orionis 0.639.0__py3-none-any.whl → 0.640.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.
@@ -774,6 +774,10 @@ class Application(Container, IApplication):
774
774
  - The method always returns the current `Application` instance.
775
775
  """
776
776
 
777
+ # Prevent modification if the application has already been booted
778
+ if self.__booted:
779
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
780
+
777
781
  # Convert class type to dict using DataClass wrapper
778
782
  if (isinstance(app, type) and issubclass(app, App)):
779
783
  _app = DataClass(App).fromDataclass(app).toDict()
@@ -870,6 +874,10 @@ class Application(Container, IApplication):
870
874
  - The method always returns the current Application instance.
871
875
  """
872
876
 
877
+ # Prevent modification if the application has already been booted
878
+ if self.__booted:
879
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
880
+
873
881
  # Convert class type to dict using DataClass wrapper
874
882
  if (isinstance(auth, type) and issubclass(auth, Auth)):
875
883
  _auth = DataClass(Auth).fromDataclass(auth).toDict()
@@ -966,6 +974,10 @@ class Application(Container, IApplication):
966
974
  - The method always returns the current Application instance.
967
975
  """
968
976
 
977
+ # Prevent modification if the application has already been booted
978
+ if self.__booted:
979
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
980
+
969
981
  # Convert class type to dict using DataClass wrapper
970
982
  if (isinstance(cache, type) and issubclass(cache, Cache)):
971
983
  _cache = DataClass(Cache).fromDataclass(cache).toDict()
@@ -1062,6 +1074,10 @@ class Application(Container, IApplication):
1062
1074
  - The method always returns the current Application instance.
1063
1075
  """
1064
1076
 
1077
+ # Prevent modification if the application has already been booted
1078
+ if self.__booted:
1079
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1080
+
1065
1081
  # Convert class type to dict using DataClass wrapper
1066
1082
  if (isinstance(cors, type) and issubclass(cors, Cors)):
1067
1083
  _cors = DataClass(Cors).fromDataclass(cors).toDict()
@@ -1158,6 +1174,10 @@ class Application(Container, IApplication):
1158
1174
  - The method always returns the current Application instance.
1159
1175
  """
1160
1176
 
1177
+ # Prevent modification if the application has already been booted
1178
+ if self.__booted:
1179
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1180
+
1161
1181
  # Convert class type to dict using DataClass wrapper
1162
1182
  if (isinstance(database, type) and issubclass(database, Database)):
1163
1183
  _database = DataClass(Database).fromDataclass(database).toDict()
@@ -1254,6 +1274,10 @@ class Application(Container, IApplication):
1254
1274
  - The method always returns the current Application instance.
1255
1275
  """
1256
1276
 
1277
+ # Prevent modification if the application has already been booted
1278
+ if self.__booted:
1279
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1280
+
1257
1281
  # Convert class type to dict using DataClass wrapper
1258
1282
  if (isinstance(filesystems, type) and issubclass(filesystems, Filesystems)):
1259
1283
  _filesystems = DataClass(Filesystems).fromDataclass(filesystems).toDict()
@@ -1350,6 +1374,10 @@ class Application(Container, IApplication):
1350
1374
  - The method always returns the current Application instance.
1351
1375
  """
1352
1376
 
1377
+ # Prevent modification if the application has already been booted
1378
+ if self.__booted:
1379
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1380
+
1353
1381
  # Convert class type to dict using DataClass wrapper
1354
1382
  if (isinstance(logging, type) and issubclass(logging, Logging)):
1355
1383
  _logging = DataClass(Logging).fromDataclass(logging).toDict()
@@ -1446,6 +1474,10 @@ class Application(Container, IApplication):
1446
1474
  - The method always returns the current Application instance.
1447
1475
  """
1448
1476
 
1477
+ # Prevent modification if the application has already been booted
1478
+ if self.__booted:
1479
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1480
+
1449
1481
  # Convert class type to dict using DataClass wrapper
1450
1482
  if (isinstance(mail, type) and issubclass(mail, Mail)):
1451
1483
  _mail = DataClass(Mail).fromDataclass(mail).toDict()
@@ -1542,6 +1574,10 @@ class Application(Container, IApplication):
1542
1574
  - The method always returns the current Application instance.
1543
1575
  """
1544
1576
 
1577
+ # Prevent modification if the application has already been booted
1578
+ if self.__booted:
1579
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1580
+
1545
1581
  # Convert class type to dict using DataClass wrapper
1546
1582
  if (isinstance(queue, type) and issubclass(queue, Queue)):
1547
1583
  _queue = DataClass(Queue).fromDataclass(queue).toDict()
@@ -1638,6 +1674,10 @@ class Application(Container, IApplication):
1638
1674
  - The method always returns the current Application instance.
1639
1675
  """
1640
1676
 
1677
+ # Prevent modification if the application has already been booted
1678
+ if self.__booted:
1679
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1680
+
1641
1681
  # Convert class type to dict using DataClass wrapper
1642
1682
  if (isinstance(session, type) and issubclass(session, Session)):
1643
1683
  _session = DataClass(Session).fromDataclass(session).toDict()
@@ -1734,6 +1774,10 @@ class Application(Container, IApplication):
1734
1774
  - The method always returns the current Application instance.
1735
1775
  """
1736
1776
 
1777
+ # Prevent modification if the application has already been booted
1778
+ if self.__booted:
1779
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1780
+
1737
1781
  # Convert class type to dict using DataClass wrapper
1738
1782
  if (isinstance(testing, type) and issubclass(testing, Testing)):
1739
1783
  _testing = DataClass(Testing).fromDataclass(testing).toDict()
@@ -1866,6 +1910,10 @@ class Application(Container, IApplication):
1866
1910
  - The method always returns the current Application instance.
1867
1911
  """
1868
1912
 
1913
+ # Prevent modification if the application has already been booted
1914
+ if self.__booted:
1915
+ raise OrionisValueError("Cannot modify configuration after application has been booted.")
1916
+
1869
1917
  # Convert class type to dict using DataClass wrapper
1870
1918
  if (isinstance(paths, type) and issubclass(paths, Paths)):
1871
1919
  _paths = DataClass(Paths).fromDataclass(paths).toDict()
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.639.0"
8
+ VERSION = "0.640.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.639.0
3
+ Version: 0.640.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
@@ -104,7 +104,7 @@ orionis/failure/contracts/handler.py,sha256=AeJfkJfD3hTkOIYAtADq6GnQfq-qWgDfUc7b
104
104
  orionis/failure/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
105
  orionis/failure/entities/throwable.py,sha256=1zD-awcuAyEtlR-L7V7ZIfPSF4GpXkf-neL5sXul7dc,1240
106
106
  orionis/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
- orionis/foundation/application.py,sha256=lqVSAcKqlu9Pn_ulkEpkmxfd3_5nzkm1Twbq8Nzxx9E,91682
107
+ orionis/foundation/application.py,sha256=gYqOJBCS-V5lGupTNzcIhEcnzFCgEF1hxEXBR0Ah_V0,94166
108
108
  orionis/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
109
  orionis/foundation/config/startup.py,sha256=btqvryeIf9lLNQ9fBff7bJMrfraEY8qrWi4y_5YAR0Q,9681
110
110
  orionis/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -217,7 +217,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=IrPQJwvQVLRm5Qnz0Cxon4
217
217
  orionis/foundation/providers/testing_provider.py,sha256=eI1p2lUlxl25b5Z487O4nmqLE31CTDb4c3Q21xFadkE,1615
218
218
  orionis/foundation/providers/workers_provider.py,sha256=GdHENYV_yGyqmHJHn0DCyWmWId5xWjD48e6Zq2PGCWY,1674
219
219
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
- orionis/metadata/framework.py,sha256=sOy0KwTeysZ8n0GSmh5u2hXsJPkSENEtPd2T9RZzvT4,4089
220
+ orionis/metadata/framework.py,sha256=5yZWs65nKWGk_QKMU1kgZRR7KC_1RCUPjGWt1xb1XAM,4089
221
221
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
222
222
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
223
223
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -404,8 +404,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
404
404
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
405
  orionis/test/view/render.py,sha256=R55ykeRs0wDKcdTf4O1YZ8GDHTFmJ0IK6VQkbJkYUvo,5571
406
406
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
407
- orionis-0.639.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
408
- orionis-0.639.0.dist-info/METADATA,sha256=dr3B2ScppB4iVyMGR5b403-JEu7qmuTzCaZXTQjnnYY,4772
409
- orionis-0.639.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
410
- orionis-0.639.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
411
- orionis-0.639.0.dist-info/RECORD,,
407
+ orionis-0.640.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
408
+ orionis-0.640.0.dist-info/METADATA,sha256=V41nff7JcNDiN3mo96L9JSndFoEBKy1JT1f4p2nPvNM,4772
409
+ orionis-0.640.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
410
+ orionis-0.640.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
411
+ orionis-0.640.0.dist-info/RECORD,,