orionis 0.635.0__py3-none-any.whl → 0.637.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.
@@ -1929,7 +1929,7 @@ class Application(Container, IApplication):
1929
1929
  # Copy contains only the 'path' key
1930
1930
  self.__runtime_path_config = local_config_copy.get('path', {})
1931
1931
 
1932
- except Exception as e:
1932
+ except BaseException as e:
1933
1933
 
1934
1934
  # Handle any exceptions during configuration loading
1935
1935
  raise OrionisRuntimeError(f"Failed to load application configuration: {str(e)}")
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.635.0"
8
+ VERSION = "0.637.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -61,13 +61,15 @@ class ReflectionAbstract(IReflectionAbstract):
61
61
  directly inherit from abc.ABC.
62
62
  """
63
63
 
64
- # Check if the provided abstract is a class type, has abstract methods, and directly inherits from ABC
64
+ # Check if the provided abstract is a class type
65
65
  if not isinstance(abstract, type):
66
66
  raise ReflectionTypeError(f"Expected a class type for 'abstract', got {type(abstract).__name__!r}")
67
+ # Check if it has abstract methods
67
68
  if not bool(getattr(abstract, '__abstractmethods__', False)):
68
69
  raise ReflectionTypeError(f"Provided class '{abstract.__name__}' is not an interface (abstract base class)")
69
- if ABC not in abstract.__bases__:
70
- raise ReflectionTypeError(f"Provided class '{abstract.__name__}' must directly inherit from abc.ABC")
70
+ # Check if it ultimately inherits from abc.ABC (directly or indirectly)
71
+ if not issubclass(abstract, ABC):
72
+ raise ReflectionTypeError(f"Provided class '{abstract.__name__}' must inherit (directly or indirectly) from abc.ABC")
71
73
 
72
74
  # If all checks pass, return True
73
75
  return True
@@ -582,13 +582,6 @@ class UnitTest(IUnitTest):
582
582
  target_list = debug_tests if self.__withDebugger(test) else normal_tests
583
583
  target_list.append(self.__resolveTestDependencies(test))
584
584
 
585
- # If no tests are found, raise an error
586
- if not flat_tests:
587
- raise OrionisTestValueError(
588
- f"No tests found in module '{test_module.__name__}'. "
589
- "Please ensure that the module contains valid unittest.TestCase classes with test methods."
590
- )
591
-
592
585
  # Update the progress bar after processing each module
593
586
  progress.advance(task, advance=1)
594
587
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.635.0
3
+ Version: 0.637.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=3wmAQDbgG80zetsPZEnjKUKC9526X_zAyza-3ztHpJ8,91678
106
+ orionis/foundation/application.py,sha256=lqVSAcKqlu9Pn_ulkEpkmxfd3_5nzkm1Twbq8Nzxx9E,91682
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=KOtw1BH_m9cgO6c7vrxSR24_M0pZ3LlS0LAgOhpSVIY,4089
219
+ orionis/metadata/framework.py,sha256=7u361HCqk4t0bzF70PgcHkJbfR0W-zH1fHIf2VMB1gY,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
@@ -258,7 +258,7 @@ orionis/services/inspirational/contracts/inspire.py,sha256=--GGHAIxeEjQS0Ra3bilZ
258
258
  orionis/services/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
259
259
  orionis/services/introspection/reflection.py,sha256=muTz1jyeVAhr5TrC6A1N6M8B0snXS6Ahh04o1NPxmys,11695
260
260
  orionis/services/introspection/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
- orionis/services/introspection/abstract/reflection.py,sha256=96-zNKZVl3bcmN2nbZSEBl35UysT1XwgmmCStmIfHJc,50242
261
+ orionis/services/introspection/abstract/reflection.py,sha256=4SOT_k05zRPfXumuw-zOqLF7EFKT8sOYfztviIGtdwQ,50329
262
262
  orionis/services/introspection/abstract/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
263
263
  orionis/services/introspection/abstract/contracts/reflection.py,sha256=UbRcqXahQ75RaLguH5qqMHHD_6Mr1Y0SH61K6VLfbc4,23562
264
264
  orionis/services/introspection/callables/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -370,7 +370,7 @@ orionis/test/contracts/render.py,sha256=wpDQzUtT0r8KFZ7zPcxWHXQ1EVNKxzA_rZ6ZKUcZ
370
370
  orionis/test/contracts/test_result.py,sha256=SNXJ2UerkweYn7uCT0i0HmMGP0XBrL_9KJs-0ZvIYU4,4002
371
371
  orionis/test/contracts/unit_test.py,sha256=EyidHoOPJItwgkBWGYY1TymbNklyn2EUXnghVvW4htc,4652
372
372
  orionis/test/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
373
- orionis/test/core/unit_test.py,sha256=Xe5110bWZcnHfo3LmGKfvLQobX37rjCZgRiTS08QL2I,71655
373
+ orionis/test/core/unit_test.py,sha256=wVNFx3b39Unxu6q4P1lprFwlAm_MEJOX8ndEqalNeWw,71266
374
374
  orionis/test/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
375
375
  orionis/test/entities/result.py,sha256=eZ6UIqGmFW8FZ9x8PB_MZbLAc-SAuUyi4FUcMYIZzGo,4777
376
376
  orionis/test/enums/__init__.py,sha256=M3imAgMvKFTKg55FbtVoY3zxj7QRY9AfaUWxiSZVvn4,66
@@ -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.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,,
406
+ orionis-0.637.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
407
+ orionis-0.637.0.dist-info/METADATA,sha256=6Elz-kFTVWC_J-GPOztOPBc_2LdJfLAk6DiPSq-oB8U,4772
408
+ orionis-0.637.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
409
+ orionis-0.637.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
410
+ orionis-0.637.0.dist-info/RECORD,,