orionis 0.306.0__py3-none-any.whl → 0.307.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/metadata/framework.py +1 -1
- orionis/services/introspection/abstract/contracts/reflection_abstract.py +1 -1
- orionis/services/introspection/abstract/reflection_abstract.py +1 -1
- orionis/services/introspection/concretes/contracts/reflection_concrete.py +2 -2
- orionis/services/introspection/concretes/reflection_concrete.py +2 -4
- orionis/services/introspection/instances/contracts/reflection_instance.py +2 -2
- orionis/services/introspection/instances/reflection_instance.py +2 -2
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/METADATA +1 -1
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/RECORD +18 -14
- tests/services/inspection/reflection/mock/fake_reflect_instance.py +18 -3
- tests/services/inspection/reflection/test_reflection_abstract.py +588 -0
- tests/services/inspection/reflection/test_reflection_concrete.py +842 -0
- tests/services/inspection/reflection/test_reflection_instance.py +888 -0
- tests/services/inspection/reflection/test_reflection_module.py +397 -0
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/WHEEL +0 -0
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/top_level.txt +0 -0
- {orionis-0.306.0.dist-info → orionis-0.307.0.dist-info}/zip-safe +0 -0
orionis/metadata/framework.py
CHANGED
@@ -1190,7 +1190,7 @@ class ReflectionAbstract(IReflectionAbstract):
|
|
1190
1190
|
|
1191
1191
|
return inspect.signature(prop.fget)
|
1192
1192
|
|
1193
|
-
def
|
1193
|
+
def getPropertyDocstring(self, name: str) -> str:
|
1194
1194
|
"""
|
1195
1195
|
Get the docstring of a property.
|
1196
1196
|
|
@@ -886,7 +886,7 @@ class IReflectionConcrete(ABC):
|
|
886
886
|
pass
|
887
887
|
|
888
888
|
@abstractmethod
|
889
|
-
def
|
889
|
+
def getProperty(self, name: str) -> Any:
|
890
890
|
"""
|
891
891
|
Get a specific property of the instance.
|
892
892
|
|
@@ -930,7 +930,7 @@ class IReflectionConcrete(ABC):
|
|
930
930
|
pass
|
931
931
|
|
932
932
|
@abstractmethod
|
933
|
-
def
|
933
|
+
def getPropertyDocstring(self, name: str) -> str:
|
934
934
|
"""
|
935
935
|
Get the docstring of a property.
|
936
936
|
|
@@ -1300,7 +1300,7 @@ class ReflectionConcrete(IReflectionConcrete):
|
|
1300
1300
|
properties.append(name.replace(f"_{self.getClassName()}", ""))
|
1301
1301
|
return properties
|
1302
1302
|
|
1303
|
-
def
|
1303
|
+
def getProperty(self, name: str) -> Any:
|
1304
1304
|
"""
|
1305
1305
|
Get a specific property of the instance.
|
1306
1306
|
|
@@ -1366,7 +1366,7 @@ class ReflectionConcrete(IReflectionConcrete):
|
|
1366
1366
|
|
1367
1367
|
return inspect.signature(prop.fget)
|
1368
1368
|
|
1369
|
-
def
|
1369
|
+
def getPropertyDocstring(self, name: str) -> str:
|
1370
1370
|
"""
|
1371
1371
|
Get the docstring of a property.
|
1372
1372
|
|
@@ -1403,8 +1403,6 @@ class ReflectionConcrete(IReflectionConcrete):
|
|
1403
1403
|
"""
|
1404
1404
|
Get the resolved and unresolved dependencies from the constructor of the instance's class.
|
1405
1405
|
|
1406
|
-
|
1407
|
-
|
1408
1406
|
Returns
|
1409
1407
|
-------
|
1410
1408
|
ClassDependency
|
@@ -780,7 +780,7 @@ class IReflectionInstance(ABC):
|
|
780
780
|
pass
|
781
781
|
|
782
782
|
@abstractmethod
|
783
|
-
def
|
783
|
+
def getProperty(self, name: str) -> Any:
|
784
784
|
"""
|
785
785
|
Get a specific property of the instance.
|
786
786
|
|
@@ -819,7 +819,7 @@ class IReflectionInstance(ABC):
|
|
819
819
|
pass
|
820
820
|
|
821
821
|
@abstractmethod
|
822
|
-
def
|
822
|
+
def getPropertyDocstring(self, name: str) -> str:
|
823
823
|
"""
|
824
824
|
Get the docstring of a property.
|
825
825
|
|
@@ -1369,7 +1369,7 @@ class ReflectionInstance(IReflectionInstance):
|
|
1369
1369
|
properties.append(name.replace(f"_{self.getClassName()}", ""))
|
1370
1370
|
return properties
|
1371
1371
|
|
1372
|
-
def
|
1372
|
+
def getProperty(self, name: str) -> Any:
|
1373
1373
|
"""
|
1374
1374
|
Get a specific property of the instance.
|
1375
1375
|
|
@@ -1430,7 +1430,7 @@ class ReflectionInstance(IReflectionInstance):
|
|
1430
1430
|
# If the property does not exist, raise an error
|
1431
1431
|
raise ReflectionAttributeError(f"Property '{original_name}' does not exist on '{self.getClassName()}'.")
|
1432
1432
|
|
1433
|
-
def
|
1433
|
+
def getPropertyDocstring(self, name: str) -> str:
|
1434
1434
|
"""
|
1435
1435
|
Get the docstring of a property.
|
1436
1436
|
|
@@ -226,7 +226,7 @@ orionis/foundation/config/testing/entities/testing.py,sha256=AuhPU9O15Aeqs8jQVHW
|
|
226
226
|
orionis/foundation/config/testing/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
227
227
|
orionis/foundation/config/testing/enums/test_mode.py,sha256=IbFpauu7J-iSAfmC8jDbmTEYl8eZr-AexL-lyOh8_74,337
|
228
228
|
orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
229
|
-
orionis/metadata/framework.py,sha256=
|
229
|
+
orionis/metadata/framework.py,sha256=zkHQLUcwjYAKmqEFv4iGmuMVGTb826f-ZGnE2-5urDA,4960
|
230
230
|
orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
|
231
231
|
orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
232
232
|
orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -251,13 +251,13 @@ orionis/services/environment/exceptions/environment_value_exception.py,sha256=zl
|
|
251
251
|
orionis/services/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
252
252
|
orionis/services/introspection/reflection.py,sha256=AI5ZMv9kHCLOQe9lL_G7wAeY3cPLKZ1FMYqIhU0yS-M,2972
|
253
253
|
orionis/services/introspection/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
254
|
-
orionis/services/introspection/abstract/reflection_abstract.py,sha256=
|
254
|
+
orionis/services/introspection/abstract/reflection_abstract.py,sha256=Mglhry_0sd7NyjV2tp7W9SBhBaLsdzULHskkRM0QlY0,42736
|
255
255
|
orionis/services/introspection/abstract/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
256
|
-
orionis/services/introspection/abstract/contracts/reflection_abstract.py,sha256
|
256
|
+
orionis/services/introspection/abstract/contracts/reflection_abstract.py,sha256=-ugpFcAkGTlk0Md5ft8NrvupnlfVji8QZjGYqWBxqeY,22370
|
257
257
|
orionis/services/introspection/concretes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
258
|
-
orionis/services/introspection/concretes/reflection_concrete.py,sha256=
|
258
|
+
orionis/services/introspection/concretes/reflection_concrete.py,sha256=BoiBnvFFNESOGB_nNbIcaamFRf3HM-Z0-uNfX4j_VT8,49765
|
259
259
|
orionis/services/introspection/concretes/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
260
|
-
orionis/services/introspection/concretes/contracts/reflection_concrete.py,sha256=
|
260
|
+
orionis/services/introspection/concretes/contracts/reflection_concrete.py,sha256=9ZQjJpZwvlqpePErRhMGBZL2yeRtchWj0SBs1JDW-F4,25066
|
261
261
|
orionis/services/introspection/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
262
262
|
orionis/services/introspection/dependencies/reflect_dependencies.py,sha256=HL2cX7_SSIWeKxzBDUMEdmfjetrZmMfPZvqM34DvJMg,7145
|
263
263
|
orionis/services/introspection/dependencies/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -271,9 +271,9 @@ orionis/services/introspection/exceptions/reflection_attribute_error.py,sha256=7
|
|
271
271
|
orionis/services/introspection/exceptions/reflection_type_error.py,sha256=6BizQOgt50qlLPDBvBJfUWgAwAr_8GAk1FhownPs-8A,747
|
272
272
|
orionis/services/introspection/exceptions/reflection_value_error.py,sha256=X38649JMKSPbdpa1lmo69RhhTATH8ykTF-UAqe7IAaU,748
|
273
273
|
orionis/services/introspection/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
274
|
-
orionis/services/introspection/instances/reflection_instance.py,sha256=
|
274
|
+
orionis/services/introspection/instances/reflection_instance.py,sha256=STdZHw7mSdm4zhKe5MvmPnifOlGv1km7aqY4RSodORg,51939
|
275
275
|
orionis/services/introspection/instances/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
276
|
-
orionis/services/introspection/instances/contracts/reflection_instance.py,sha256=
|
276
|
+
orionis/services/introspection/instances/contracts/reflection_instance.py,sha256=D9sH-uOSZ_E7luAfbjI_ML6kfxuO5MtvLk6037iQJ7o,20936
|
277
277
|
orionis/services/introspection/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
278
278
|
orionis/services/introspection/modules/reflection_module.py,sha256=8Go5U22E33tZa93Qx5_zswy8Hoxotsro1s_7YKeXbKI,15640
|
279
279
|
orionis/services/introspection/modules/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -339,7 +339,7 @@ orionis/test/suite/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
339
339
|
orionis/test/suite/contracts/test_unit.py,sha256=YWpzXhjD-f-IGncKkGyE9C7tYCFbt9mxZPw1O_d5HOE,7532
|
340
340
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
341
341
|
orionis/test/view/render.py,sha256=jXZkbITBknbUwm_mD8bcTiwLDvsFkrO9qrf0ZgPwqxc,4903
|
342
|
-
orionis-0.
|
342
|
+
orionis-0.307.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
343
343
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
344
344
|
tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
345
345
|
tests/example/test_example.py,sha256=kvWgiW3ADEZf718dGsMPtDh_rmOSx1ypEInKm7_6ZPQ,601
|
@@ -415,8 +415,12 @@ tests/services/inspection/dependencies/mocks/mock_user.py,sha256=RxATxe0-Vm4HfX5
|
|
415
415
|
tests/services/inspection/dependencies/mocks/mock_user_controller.py,sha256=P3sOUXVZ55auudwiNtvNCEQuTz0cgAZjvhicLZ4xaz4,1208
|
416
416
|
tests/services/inspection/dependencies/mocks/mock_users_permissions.py,sha256=oENXbS2qmQUudYSmnhB8fgHBqXZdbplplB-Y2nbx4hw,1388
|
417
417
|
tests/services/inspection/reflection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
418
|
+
tests/services/inspection/reflection/test_reflection_abstract.py,sha256=TfQv4-f-c9VVhOzd5077Bq8FEWNzMGzap2s-vIP4W9Q,27859
|
419
|
+
tests/services/inspection/reflection/test_reflection_concrete.py,sha256=5-iQh1whfpBa47jBWwtg-MIk6ysg92my5J9JdrTBm5E,44622
|
420
|
+
tests/services/inspection/reflection/test_reflection_instance.py,sha256=ZCFTLY_KtLAIq58PuDWak-T1c2PcCKiwTOdI9EDubww,46281
|
421
|
+
tests/services/inspection/reflection/test_reflection_module.py,sha256=Cl-3kWoJMQ2ufOO4VP6M28Tk6kmY4OhVEoW_b0wqw7Y,19849
|
418
422
|
tests/services/inspection/reflection/mock/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
419
|
-
tests/services/inspection/reflection/mock/fake_reflect_instance.py,sha256=
|
423
|
+
tests/services/inspection/reflection/mock/fake_reflect_instance.py,sha256=iqWoT6tNym3OijK0wcF0iKMp3HTlq5kAoztzC4fdTlM,18595
|
420
424
|
tests/services/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
421
425
|
tests/services/parsers/test_services_parser_exceptions.py,sha256=fCi_nUsXSh80r7HzQibXbUuYMpqjBefsP-QPF76MLfM,2650
|
422
426
|
tests/services/parsers/mocks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -434,8 +438,8 @@ tests/support/wrapper/test_services_wrapper_docdict.py,sha256=yeVwl-VcwkWSQYyxZu
|
|
434
438
|
tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
435
439
|
tests/testing/test_testing_result.py,sha256=MrGK3ZimedL0b5Ydu69Dg8Iul017AzLTm7VPxpXlpfU,4315
|
436
440
|
tests/testing/test_testing_unit.py,sha256=A6QkiOkP7GPC1Szh_GqsrV7GxjWjK8cIwFez6YfrzmM,7683
|
437
|
-
orionis-0.
|
438
|
-
orionis-0.
|
439
|
-
orionis-0.
|
440
|
-
orionis-0.
|
441
|
-
orionis-0.
|
441
|
+
orionis-0.307.0.dist-info/METADATA,sha256=nQaVBKIDhYCnQKzHqnkYF4OjW5vqx980lPIigNZteu0,4772
|
442
|
+
orionis-0.307.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
443
|
+
orionis-0.307.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
444
|
+
orionis-0.307.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
445
|
+
orionis-0.307.0.dist-info/RECORD,,
|
@@ -507,19 +507,34 @@ class AbstractFakeClass(ABC):
|
|
507
507
|
@property
|
508
508
|
@abstractmethod
|
509
509
|
def computed_public_property(self) -> str:
|
510
|
-
"""
|
510
|
+
"""
|
511
|
+
Computes and returns the value of a public property.
|
512
|
+
|
513
|
+
Returns:
|
514
|
+
str: The computed value of the public property.
|
515
|
+
"""
|
511
516
|
pass
|
512
517
|
|
513
518
|
@property
|
514
519
|
@abstractmethod
|
515
520
|
def _computed_property_protected(self) -> str:
|
516
|
-
"""
|
521
|
+
"""
|
522
|
+
A protected method intended to compute and return a string property.
|
523
|
+
|
524
|
+
Returns:
|
525
|
+
str: The computed property as a string.
|
526
|
+
"""
|
517
527
|
pass
|
518
528
|
|
519
529
|
@property
|
520
530
|
@abstractmethod
|
521
531
|
def __computed_property_private(self) -> str:
|
522
|
-
"""
|
532
|
+
"""
|
533
|
+
A private computed property method.
|
534
|
+
|
535
|
+
Returns:
|
536
|
+
str: The computed string value.
|
537
|
+
"""
|
523
538
|
pass
|
524
539
|
|
525
540
|
def __init__(self) -> None:
|