orionis 0.304.0__py3-none-any.whl → 0.306.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/modules/{reflection_instance.py → reflection_module.py} +1 -1
- orionis/services/introspection/reflection.py +90 -0
- orionis/{services → support}/standard/std.py +2 -2
- orionis/test/{facade/test_suite.py → test_suite.py} +1 -2
- orionis/unittesting.py +1 -1
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/METADATA +1 -1
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/RECORD +28 -65
- tests/{services → support}/standard/test_services_std.py +3 -3
- tests/{services → support}/wrapper/test_services_wrapper_docdict.py +2 -2
- orionis/support/abstracts/entities/abstract_class_attributes.py +0 -37
- orionis/support/abstracts/reflect_abstract.py +0 -556
- orionis/support/helpers/functions.py +0 -285
- orionis/support/introspection/container_integrity.py +0 -292
- orionis/support/introspection/contracts/__init__.py +0 -0
- orionis/support/introspection/contracts/reflection.py +0 -187
- orionis/support/introspection/contracts/reflexion_abstract.py +0 -264
- orionis/support/introspection/helpers/__init__.py +0 -0
- orionis/support/introspection/helpers/functions.py +0 -281
- orionis/support/introspection/instances/__init__.py +0 -0
- orionis/support/introspection/instances/contracts/__init__.py +0 -0
- orionis/support/introspection/instances/contracts/reflection_instance.py +0 -649
- orionis/support/introspection/instances/entities/__init__.py +0 -0
- orionis/support/introspection/instances/reflection_instance.py +0 -758
- orionis/support/introspection/reflect_decorators.py +0 -335
- orionis/support/introspection/reflection.py +0 -216
- orionis/support/introspection/reflexion_concrete.py +0 -276
- orionis/support/introspection/reflexion_concrete_with_abstract.py +0 -185
- orionis/support/introspection/reflexion_instance_with_abstract.py +0 -230
- orionis/support/introspection/reflexion_module.py +0 -19
- orionis/support/introspection/reflexion_module_with_classname.py +0 -22
- orionis/support/reflection.py +0 -216
- orionis/test/facade/__init__.py +0 -0
- orionis/test/facade/contracts/__init__.py +0 -0
- orionis/test/facade/contracts/test_suite.py +0 -25
- tests/services/standard/__init__.py +0 -0
- tests/services/wrapper/__init__.py +0 -0
- tests/support/inspection/__init__.py +0 -0
- tests/support/inspection/fakes/__init__.py +0 -0
- tests/support/inspection/fakes/fake_reflect_abstract.py +0 -276
- tests/support/inspection/fakes/fake_reflection_concrete.py +0 -44
- tests/support/inspection/fakes/fake_reflection_concrete_with_abstract.py +0 -78
- tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py +0 -45
- tests/support/inspection/test_reflect_abstract.py +0 -334
- tests/support/inspection/test_reflect_instance.py +0 -288
- tests/support/inspection/test_reflection_concrete.py +0 -142
- tests/support/inspection/test_reflection_concrete_with_abstract.py +0 -87
- tests/support/inspection/test_reflection_instance_with_abstract.py +0 -79
- /orionis/services/introspection/modules/contracts/{reflection_instance.py → reflection_module.py} +0 -0
- /orionis/{services → support}/standard/__init__.py +0 -0
- /orionis/{services → support}/standard/contracts/__init__.py +0 -0
- /orionis/{services → support}/standard/contracts/std.py +0 -0
- /orionis/{services → support}/standard/exceptions/__init__.py +0 -0
- /orionis/{services → support}/standard/exceptions/std_value_exception.py +0 -0
- /orionis/{services → support}/wrapper/__init__.py +0 -0
- /orionis/{services → support}/wrapper/dicts/__init__.py +0 -0
- /orionis/{services → support}/wrapper/dicts/dot_dict.py +0 -0
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/WHEEL +0 -0
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/top_level.txt +0 -0
- {orionis-0.304.0.dist-info → orionis-0.306.0.dist-info}/zip-safe +0 -0
- {orionis/support/abstracts → tests/services/inspection/reflection}/__init__.py +0 -0
- {orionis/support/abstracts/entities → tests/services/inspection/reflection/mock}/__init__.py +0 -0
- /tests/{support/inspection/fakes → services/inspection/reflection/mock}/fake_reflect_instance.py +0 -0
- {orionis/support/helpers → tests/support/standard}/__init__.py +0 -0
- {orionis/support/introspection → tests/support/wrapper}/__init__.py +0 -0
orionis/metadata/framework.py
CHANGED
@@ -3,7 +3,7 @@ import inspect
|
|
3
3
|
import keyword
|
4
4
|
from orionis.services.introspection.exceptions.reflection_type_error import ReflectionTypeError
|
5
5
|
from orionis.services.introspection.exceptions.reflection_value_error import ReflectionValueError
|
6
|
-
from orionis.services.introspection.modules.contracts.
|
6
|
+
from orionis.services.introspection.modules.contracts.reflection_module import IReflectionModule
|
7
7
|
|
8
8
|
class ReflectionModule(IReflectionModule):
|
9
9
|
|
@@ -0,0 +1,90 @@
|
|
1
|
+
from typing import Any, Type
|
2
|
+
from orionis.services.introspection.abstract.reflection_abstract import ReflectionAbstract
|
3
|
+
from orionis.services.introspection.concretes.reflection_concrete import ReflectionConcrete
|
4
|
+
from orionis.services.introspection.instances.reflection_instance import ReflectionInstance
|
5
|
+
from orionis.services.introspection.modules.reflection_module import ReflectionModule
|
6
|
+
|
7
|
+
class Reflection:
|
8
|
+
"""
|
9
|
+
Provides static methods to create reflection objects for various Python constructs.
|
10
|
+
|
11
|
+
This class offers factory methods to obtain specialized reflection objects for instances,
|
12
|
+
abstract classes, concrete classes, and modules. Each method returns an object that
|
13
|
+
encapsulates the target and provides introspection capabilities.
|
14
|
+
|
15
|
+
Methods
|
16
|
+
-------
|
17
|
+
instance(instance: Any) -> ReflectionInstance
|
18
|
+
Create a reflection object for a class instance.
|
19
|
+
abstract(abstract: Type) -> ReflectionAbstract
|
20
|
+
Create a reflection object for an abstract class.
|
21
|
+
concrete(concrete: Type) -> ReflectionConcrete
|
22
|
+
Create a reflection object for a concrete class.
|
23
|
+
module(module: str) -> ReflectionModule
|
24
|
+
Create a reflection object for a module.
|
25
|
+
"""
|
26
|
+
|
27
|
+
@staticmethod
|
28
|
+
def instance(instance: Any) -> 'ReflectionInstance':
|
29
|
+
"""
|
30
|
+
Create a reflection object for a class instance.
|
31
|
+
|
32
|
+
Parameters
|
33
|
+
----------
|
34
|
+
instance : Any
|
35
|
+
The instance to reflect upon.
|
36
|
+
|
37
|
+
Returns
|
38
|
+
-------
|
39
|
+
ReflectionInstance
|
40
|
+
A reflection object encapsulating the instance.
|
41
|
+
"""
|
42
|
+
return ReflectionInstance(instance)
|
43
|
+
|
44
|
+
@staticmethod
|
45
|
+
def abstract(abstract: Type) -> 'ReflectionAbstract':
|
46
|
+
"""Create a reflection object for an abstract class.
|
47
|
+
|
48
|
+
Parameters
|
49
|
+
----------
|
50
|
+
abstract : Type
|
51
|
+
The abstract class to reflect upon
|
52
|
+
|
53
|
+
Returns
|
54
|
+
-------
|
55
|
+
ReflectionAbstract
|
56
|
+
A reflection object encapsulating the abstract class
|
57
|
+
"""
|
58
|
+
return ReflectionAbstract(abstract)
|
59
|
+
|
60
|
+
@staticmethod
|
61
|
+
def concrete(concrete: Type) -> 'ReflectionConcrete':
|
62
|
+
"""Create a reflection object for a concrete class.
|
63
|
+
|
64
|
+
Parameters
|
65
|
+
----------
|
66
|
+
concrete : Type
|
67
|
+
The concrete class to reflect upon
|
68
|
+
|
69
|
+
Returns
|
70
|
+
-------
|
71
|
+
ReflectionConcrete
|
72
|
+
A reflection object encapsulating the concrete class
|
73
|
+
"""
|
74
|
+
return ReflectionConcrete(concrete)
|
75
|
+
|
76
|
+
@staticmethod
|
77
|
+
def module(module: str) -> 'ReflectionModule':
|
78
|
+
"""Create a reflection object for a module.
|
79
|
+
|
80
|
+
Parameters
|
81
|
+
----------
|
82
|
+
module : str
|
83
|
+
The module name to reflect upon
|
84
|
+
|
85
|
+
Returns
|
86
|
+
-------
|
87
|
+
ReflectionModule
|
88
|
+
A reflection object encapsulating the module
|
89
|
+
"""
|
90
|
+
return ReflectionModule(module)
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from orionis.
|
2
|
-
from orionis.
|
1
|
+
from orionis.support.standard.contracts.std import IStdClass
|
2
|
+
from orionis.support.standard.exceptions.std_value_exception import OrionisStdValueException
|
3
3
|
|
4
4
|
class StdClass(IStdClass):
|
5
5
|
"""
|
@@ -2,10 +2,9 @@ import re
|
|
2
2
|
from os import walk
|
3
3
|
from orionis.foundation.config.testing.entities.testing import Testing as Configuration
|
4
4
|
from orionis.test.exceptions.test_config_exception import OrionisTestConfigException
|
5
|
-
from orionis.test.facade.contracts.test_suite import ITestSuite
|
6
5
|
from orionis.test.suite.test_unit import UnitTest
|
7
6
|
|
8
|
-
class TestSuite
|
7
|
+
class TestSuite:
|
9
8
|
"""
|
10
9
|
TestSuite manages and executes a suite of unit tests based on a configurable set of parameters.
|
11
10
|
|
orionis/unittesting.py
CHANGED
@@ -21,7 +21,7 @@ from orionis.test.exceptions.test_runtime_error import OrionisTestRuntimeError
|
|
21
21
|
from orionis.test.exceptions.test_value_error import OrionisTestValueError
|
22
22
|
|
23
23
|
# Import configuration and suite classes for organizing tests
|
24
|
-
from orionis.test.
|
24
|
+
from orionis.test.test_suite import Configuration, TestSuite
|
25
25
|
from orionis.test.suite.test_unit import UnitTest
|
26
26
|
|
27
27
|
# Import standard unittest components for compatibility
|
@@ -1,7 +1,7 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/_application.py,sha256=dMjJ0nFcIIOBGb5zr-tHNzcgTOZ1vJ7iMdFAlqSQph0,9405
|
3
3
|
orionis/application.py,sha256=Off5uOUj-IYvvR8DcqLUoBW_98opWa7MQrtqTr0SZGc,292
|
4
|
-
orionis/unittesting.py,sha256=
|
4
|
+
orionis/unittesting.py,sha256=_NU3_sm3R6bUUH_Y-KSPgNVBajUGCtKo_CGgjB1YD5k,2094
|
5
5
|
orionis/_container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
orionis/_container/container.py,sha256=0AOqTNwpN_OtWbq9mBI99qfJ7LMkN71y0lP0JWKzut0,18289
|
7
7
|
orionis/_container/container_integrity.py,sha256=vrqZrkJaP6ghbiAzr-nEul9f_lEWVa2nMUSugQXDfWk,10095
|
@@ -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=GImOCrMN7mWsb01QmgRxKwSjebYym2MWgAVOgJkbQiM,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
|
@@ -249,6 +249,7 @@ orionis/services/environment/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
|
|
249
249
|
orionis/services/environment/exceptions/environment_value_error.py,sha256=Y3QTwzUrn0D5FqT7hI_9uCACVz473YhhoAFOx1-rcXE,627
|
250
250
|
orionis/services/environment/exceptions/environment_value_exception.py,sha256=zlxRFJwi0Yj-xFHQUvZ8X1ZlxRDDVv7Xcw-w4qCocL4,646
|
251
251
|
orionis/services/introspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
252
|
+
orionis/services/introspection/reflection.py,sha256=AI5ZMv9kHCLOQe9lL_G7wAeY3cPLKZ1FMYqIhU0yS-M,2972
|
252
253
|
orionis/services/introspection/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
253
254
|
orionis/services/introspection/abstract/reflection_abstract.py,sha256=OwVPnVaRr6iXXluZgDIhHoGIQrIti25FY55gXr2VdgI,42737
|
254
255
|
orionis/services/introspection/abstract/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -274,9 +275,9 @@ orionis/services/introspection/instances/reflection_instance.py,sha256=deqQpeAZq
|
|
274
275
|
orionis/services/introspection/instances/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
275
276
|
orionis/services/introspection/instances/contracts/reflection_instance.py,sha256=zc-uOHDixR4Wg2PwF4mX9lpl-AGMKtMvJUN7_Pixr2Q,20938
|
276
277
|
orionis/services/introspection/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
277
|
-
orionis/services/introspection/modules/
|
278
|
+
orionis/services/introspection/modules/reflection_module.py,sha256=8Go5U22E33tZa93Qx5_zswy8Hoxotsro1s_7YKeXbKI,15640
|
278
279
|
orionis/services/introspection/modules/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
279
|
-
orionis/services/introspection/modules/contracts/
|
280
|
+
orionis/services/introspection/modules/contracts/reflection_module.py,sha256=YLqKg5EhaddUBrytMHX1-uz9mNsRISK1iVyG_iUiVYA,9666
|
280
281
|
orionis/services/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
281
282
|
orionis/services/parsers/serializer.py,sha256=mxWlzqgkoO7EeIr3MZ5gdzQUuSfjqWDMau85PEqlBQY,531
|
282
283
|
orionis/services/parsers/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -290,12 +291,6 @@ orionis/services/paths/contracts/resolver.py,sha256=v7uTgByE2nQS2ZM_b1rtMzY6HH03
|
|
290
291
|
orionis/services/paths/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
291
292
|
orionis/services/paths/exceptions/not_found_exceptions.py,sha256=J3BXNqMjt9NFH2yYpxlE2gIeuV6es5GEgNatT5PYKXc,814
|
292
293
|
orionis/services/paths/exceptions/path_value_exceptions.py,sha256=kQnUPBjfHgRyjGfrOSFKa1DPluMFJQv-1nUe_f76lUs,879
|
293
|
-
orionis/services/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
294
|
-
orionis/services/standard/std.py,sha256=nmZh0nQecPwyB9Pk09OUGQhTnVgXGRPA4AYyybSt-W8,3701
|
295
|
-
orionis/services/standard/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
296
|
-
orionis/services/standard/contracts/std.py,sha256=w4F0fIHIOhCPPiBgTLIIWR9EFdjeTjLsDktiLaUgmj8,3108
|
297
|
-
orionis/services/standard/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
298
|
-
orionis/services/standard/exceptions/std_value_exception.py,sha256=PPrh58fyaARULFo7NUn36oLWF3ac3N5Bkc2pCHKpQVc,681
|
299
294
|
orionis/services/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
300
295
|
orionis/services/system/imports.py,sha256=5j2Rkf6vMLnCQjqcox4-0y0tZoxgPfv7EP8eruG7vnA,4990
|
301
296
|
orionis/services/system/runtime_imports.py,sha256=eWp_MmrvxWHl-lsNO0M5FC9OsCcY1BXsiJTlPk0cfRU,2550
|
@@ -303,37 +298,18 @@ orionis/services/system/workers.py,sha256=VB0BBrx3ks0vqc0-aPLQj2VK4cO7s_44YhJOKY
|
|
303
298
|
orionis/services/system/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
304
299
|
orionis/services/system/contracts/imports.py,sha256=nE2fDS2bDbwltHCmzOsEMhUymYy092zoGX-NOXLE4J4,1167
|
305
300
|
orionis/services/system/contracts/workers.py,sha256=aZfQlij6mkPM2TcodDai7JYpTFNKL4YFAEj8Bd9Y4nw,707
|
306
|
-
orionis/services/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
307
|
-
orionis/services/wrapper/dicts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
308
|
-
orionis/services/wrapper/dicts/dot_dict.py,sha256=VdAUH-DO6y86pl_9N6v-vU9mdLraWh5HjVzI5iC1dMs,5295
|
309
301
|
orionis/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
310
|
-
orionis/support/
|
311
|
-
orionis/support/
|
312
|
-
orionis/support/
|
313
|
-
orionis/support/
|
314
|
-
orionis/support/
|
315
|
-
orionis/support/
|
316
|
-
orionis/support/
|
317
|
-
orionis/support/
|
318
|
-
orionis/support/
|
319
|
-
orionis/support/introspection/reflect_decorators.py,sha256=fnxnkEcRSU8TxDGdjCNlvXMNHEKzW7AwO_aPOVCbs9w,11548
|
320
|
-
orionis/support/introspection/reflection.py,sha256=tQtE5WnmdNOpZN8BIyAnfrGHXz7wgy8YE-yaurYfIz8,7763
|
321
|
-
orionis/support/introspection/reflexion_concrete.py,sha256=1ISuy2L6Oser-EhmpuGALmbauh7Z-X8Rx1YYgt5CabQ,7543
|
322
|
-
orionis/support/introspection/reflexion_concrete_with_abstract.py,sha256=F_J3NV5tHlFUOhbKwsGX3KmPfl3rMy2I3UwrI1HbYGo,7476
|
323
|
-
orionis/support/introspection/reflexion_instance_with_abstract.py,sha256=Z-qMHdtHUjH9mq78krG-m3b8IlQ9IlVdcML49LNwI64,9416
|
324
|
-
orionis/support/introspection/reflexion_module.py,sha256=OgBXpqNJHkmq-gX4rqFStv-WVNe9R38RsgUgfHpak8k,405
|
325
|
-
orionis/support/introspection/reflexion_module_with_classname.py,sha256=YZHZI0XUZkSWnq9wrGxrIXtI64nY9yVSZoMe7PZXq8Y,620
|
326
|
-
orionis/support/introspection/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
327
|
-
orionis/support/introspection/contracts/reflection.py,sha256=zF9OLiEdgWJtJWvfrmWCQhbDjgYmm-QvAkFv9OLb3rE,4959
|
328
|
-
orionis/support/introspection/contracts/reflexion_abstract.py,sha256=3m0DTIFpbRyYMcqTPt_qtPdOEpM1Zpx0FbnTAruXPhU,6384
|
329
|
-
orionis/support/introspection/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
330
|
-
orionis/support/introspection/helpers/functions.py,sha256=JC2_t732LqcJn3zoRZwFAqcm6kT6HvsJmupysjH3aiY,8537
|
331
|
-
orionis/support/introspection/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
332
|
-
orionis/support/introspection/instances/reflection_instance.py,sha256=Dm0opoIvCdCYDMZ6_L17hkzCbrweYDEJLYBZpy6KgQA,24400
|
333
|
-
orionis/support/introspection/instances/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
334
|
-
orionis/support/introspection/instances/contracts/reflection_instance.py,sha256=r64ZmjN9DNKAUuBdp8xbzycSYH3LF6sTUmTXq-ekbiQ,17102
|
335
|
-
orionis/support/introspection/instances/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
302
|
+
orionis/support/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
303
|
+
orionis/support/standard/std.py,sha256=_EtIoAxKImQto6Le7RYzuEI6wh2PuoF5C50Rrhrv5Zw,3699
|
304
|
+
orionis/support/standard/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
305
|
+
orionis/support/standard/contracts/std.py,sha256=w4F0fIHIOhCPPiBgTLIIWR9EFdjeTjLsDktiLaUgmj8,3108
|
306
|
+
orionis/support/standard/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
307
|
+
orionis/support/standard/exceptions/std_value_exception.py,sha256=PPrh58fyaARULFo7NUn36oLWF3ac3N5Bkc2pCHKpQVc,681
|
308
|
+
orionis/support/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
309
|
+
orionis/support/wrapper/dicts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
310
|
+
orionis/support/wrapper/dicts/dot_dict.py,sha256=VdAUH-DO6y86pl_9N6v-vU9mdLraWh5HjVzI5iC1dMs,5295
|
336
311
|
orionis/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
312
|
+
orionis/test/test_suite.py,sha256=Aqjfh_HcuudckUbM5aK7hjH_kE-Rwr_8NyGaioWuQZw,4941
|
337
313
|
orionis/test/cases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
338
314
|
orionis/test/cases/test_async.py,sha256=YwycimGfUx9-kd_FFO8BZXyVayYwOBOzxbu3WZU_l5s,1927
|
339
315
|
orionis/test/cases/test_case.py,sha256=GVN3cxYuE47uPOEqFUiMreLdXjTyqzHjjxfyEM5_D4w,1446
|
@@ -349,10 +325,6 @@ orionis/test/exceptions/test_failure_exception.py,sha256=IwmBRiDMAJ4Jk75-kfQh5mW
|
|
349
325
|
orionis/test/exceptions/test_persistence_error.py,sha256=QJ2hdVAl6ngZEko0mSavU7nui8si7ZXR9PUXfU9cOY0,724
|
350
326
|
orionis/test/exceptions/test_runtime_error.py,sha256=QahR7qHhvzR1I8CS-qWsxL_c0lSzWWE1rCiwf47YRQc,523
|
351
327
|
orionis/test/exceptions/test_value_error.py,sha256=XZmxiZmmMoYoh8O4V97GLB-Ooh-IRVagKW9bWPvtoeo,533
|
352
|
-
orionis/test/facade/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
353
|
-
orionis/test/facade/test_suite.py,sha256=pxsxbok_MbPxnsfcfwwI32ltbnL9NByA_YETFRRP4QY,5018
|
354
|
-
orionis/test/facade/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
355
|
-
orionis/test/facade/contracts/test_suite.py,sha256=6BBEHFgIAMkOWiKo5k5l2SR1JCNCZ-iJEQUl7PQCiAc,794
|
356
328
|
orionis/test/logs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
357
329
|
orionis/test/logs/history.py,sha256=YqoAQSYyEo9PQSbB7TsHZy3SLKrwLsgyiKu7t2M7ztc,13149
|
358
330
|
orionis/test/logs/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -367,7 +339,7 @@ orionis/test/suite/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
367
339
|
orionis/test/suite/contracts/test_unit.py,sha256=YWpzXhjD-f-IGncKkGyE9C7tYCFbt9mxZPw1O_d5HOE,7532
|
368
340
|
orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
369
341
|
orionis/test/view/render.py,sha256=jXZkbITBknbUwm_mD8bcTiwLDvsFkrO9qrf0ZgPwqxc,4903
|
370
|
-
orionis-0.
|
342
|
+
orionis-0.306.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
371
343
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
372
344
|
tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
373
345
|
tests/example/test_example.py,sha256=kvWgiW3ADEZf718dGsMPtDh_rmOSx1ypEInKm7_6ZPQ,601
|
@@ -442,37 +414,28 @@ tests/services/inspection/dependencies/mocks/__init__.py,sha256=47DEQpj8HBSa-_TI
|
|
442
414
|
tests/services/inspection/dependencies/mocks/mock_user.py,sha256=RxATxe0-Vm4HfX5jKz9Tny42E2fmrdtEN6ZEntbqRL8,912
|
443
415
|
tests/services/inspection/dependencies/mocks/mock_user_controller.py,sha256=P3sOUXVZ55auudwiNtvNCEQuTz0cgAZjvhicLZ4xaz4,1208
|
444
416
|
tests/services/inspection/dependencies/mocks/mock_users_permissions.py,sha256=oENXbS2qmQUudYSmnhB8fgHBqXZdbplplB-Y2nbx4hw,1388
|
417
|
+
tests/services/inspection/reflection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
418
|
+
tests/services/inspection/reflection/mock/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
419
|
+
tests/services/inspection/reflection/mock/fake_reflect_instance.py,sha256=WZsXKb8WQcP6Xz72ejrtqw6m2FMPl9HhhurkF1OyUC4,18248
|
445
420
|
tests/services/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
446
421
|
tests/services/parsers/test_services_parser_exceptions.py,sha256=fCi_nUsXSh80r7HzQibXbUuYMpqjBefsP-QPF76MLfM,2650
|
447
422
|
tests/services/parsers/mocks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
448
423
|
tests/services/parsers/mocks/mock_custom_error.py,sha256=LWgjeog2rpmfw6j7Bgzvfvmeby8uSBuB1B3d_DgRcFQ,752
|
449
424
|
tests/services/path/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
450
425
|
tests/services/path/test_services_resolver.py,sha256=ny6vyx_psF9iWXyMhqI95SJs84_dD1NIOXt0k1MfBQA,3902
|
451
|
-
tests/services/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
452
|
-
tests/services/standard/test_services_std.py,sha256=ChEUcUNSSrKEaLczoDGphHlUhTnaXknzMBMVLNRgbG0,5518
|
453
426
|
tests/services/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
454
427
|
tests/services/system/test_services_system_imports.py,sha256=dqNFspZCVHIupSV9u7mGCUlyJImmExURp-p0PhwpvRI,2945
|
455
428
|
tests/services/system/test_services_system_workers.py,sha256=g9Nq0V-xmrLAl089Nz3t7xEjeSJxNaplAt_KgzMqJ5o,3002
|
456
|
-
tests/services/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
457
|
-
tests/services/wrapper/test_services_wrapper_docdict.py,sha256=EhV6uIp0OX5t1YZjVAtZlASMgm576CQjwNHVhrvxU1w,4986
|
458
429
|
tests/support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
459
|
-
tests/support/
|
460
|
-
tests/support/
|
461
|
-
tests/support/
|
462
|
-
tests/support/
|
463
|
-
tests/support/inspection/test_reflection_concrete_with_abstract.py,sha256=Qzd87JxKDXPpItNg_cVrxinN42wNfaBllucnhH30gXs,4655
|
464
|
-
tests/support/inspection/test_reflection_instance_with_abstract.py,sha256=L3nQy2l95yEIyvAHErqxGRVVF5x8YkyM82uGm0wUlxk,4064
|
465
|
-
tests/support/inspection/fakes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
466
|
-
tests/support/inspection/fakes/fake_reflect_abstract.py,sha256=woE15uLmoD3fLgPBMjNh5XkwvMDmW2VDbADYPIS_88o,6387
|
467
|
-
tests/support/inspection/fakes/fake_reflect_instance.py,sha256=WZsXKb8WQcP6Xz72ejrtqw6m2FMPl9HhhurkF1OyUC4,18248
|
468
|
-
tests/support/inspection/fakes/fake_reflection_concrete.py,sha256=j6gzsxE3xq5oJ30H_Hm1RsUwEY3jOYBu4sclxtD1ayo,1047
|
469
|
-
tests/support/inspection/fakes/fake_reflection_concrete_with_abstract.py,sha256=ibCjrtNM6BMf5Z5VMvat7E6zOAk5g9z--gj4ykKJWY8,2118
|
470
|
-
tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=SfL8FuFmr650RlzXTrP4tGMfsPVZLhOxVnBXu_g1POg,1471
|
430
|
+
tests/support/standard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
431
|
+
tests/support/standard/test_services_std.py,sha256=jRL3QbfbDaMH2Qs9W6tmMgzM-fhrVqOUnD-JeMAK0uA,5515
|
432
|
+
tests/support/wrapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
433
|
+
tests/support/wrapper/test_services_wrapper_docdict.py,sha256=yeVwl-VcwkWSQYyxZu3qfqT7YtP8LIEJgHo2ejzISh0,4984
|
471
434
|
tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
472
435
|
tests/testing/test_testing_result.py,sha256=MrGK3ZimedL0b5Ydu69Dg8Iul017AzLTm7VPxpXlpfU,4315
|
473
436
|
tests/testing/test_testing_unit.py,sha256=A6QkiOkP7GPC1Szh_GqsrV7GxjWjK8cIwFez6YfrzmM,7683
|
474
|
-
orionis-0.
|
475
|
-
orionis-0.
|
476
|
-
orionis-0.
|
477
|
-
orionis-0.
|
478
|
-
orionis-0.
|
437
|
+
orionis-0.306.0.dist-info/METADATA,sha256=8CLPP3IUOw-YheRrX-OFVFBSUyR-4kO4LqoX49dyMWU,4772
|
438
|
+
orionis-0.306.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
439
|
+
orionis-0.306.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
440
|
+
orionis-0.306.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
441
|
+
orionis-0.306.0.dist-info/RECORD,,
|
@@ -1,8 +1,8 @@
|
|
1
|
-
from orionis.
|
2
|
-
from orionis.
|
1
|
+
from orionis.support.standard.exceptions.std_value_exception import OrionisStdValueException
|
2
|
+
from orionis.support.standard.std import StdClass
|
3
3
|
from orionis.unittesting import TestCase
|
4
4
|
|
5
|
-
class
|
5
|
+
class TestSupportStd(TestCase):
|
6
6
|
|
7
7
|
async def testInitializationAndAccess(self):
|
8
8
|
"""
|
@@ -1,7 +1,7 @@
|
|
1
|
-
from orionis.
|
1
|
+
from orionis.support.wrapper.dicts.dot_dict import DotDict
|
2
2
|
from orionis.unittesting import TestCase
|
3
3
|
|
4
|
-
class
|
4
|
+
class TestSupportWrapperDocDict(TestCase):
|
5
5
|
"""
|
6
6
|
Test cases for the DotDict class which provides dictionary with dot notation access.
|
7
7
|
|
@@ -1,37 +0,0 @@
|
|
1
|
-
from dataclasses import dataclass, field
|
2
|
-
from typing import Any, Dict
|
3
|
-
|
4
|
-
@dataclass(frozen=True, kw_only=True)
|
5
|
-
class AbstractClassAttributes:
|
6
|
-
"""
|
7
|
-
A class to represent the attributes of an entity.
|
8
|
-
"""
|
9
|
-
public: Dict[str, Any] = field()
|
10
|
-
private: Dict[str, Any] = field()
|
11
|
-
protected: Dict[str, Any] = field()
|
12
|
-
|
13
|
-
def __post_init__(self):
|
14
|
-
"""
|
15
|
-
Post-initialization method to validate attribute types.
|
16
|
-
|
17
|
-
Ensures that the 'public', 'private', and 'protected' attributes of the instance
|
18
|
-
are all dictionaries. Raises a TypeError if any of these attributes are not of type dict.
|
19
|
-
|
20
|
-
Raises:
|
21
|
-
TypeError: If 'public', 'private', or 'protected' is not a dict.
|
22
|
-
"""
|
23
|
-
if not isinstance(self.public, dict):
|
24
|
-
raise TypeError(
|
25
|
-
f"Invalid type for 'public' attribute in {self.__class__.__name__}: "
|
26
|
-
f"expected 'dict', got '{type(self.public).__name__}'."
|
27
|
-
)
|
28
|
-
if not isinstance(self.private, dict):
|
29
|
-
raise TypeError(
|
30
|
-
f"Invalid type for 'private' attribute in {self.__class__.__name__}: "
|
31
|
-
f"expected 'dict', got '{type(self.private).__name__}'."
|
32
|
-
)
|
33
|
-
if not isinstance(self.protected, dict):
|
34
|
-
raise TypeError(
|
35
|
-
f"Invalid type for 'protected' attribute in {self.__class__.__name__}: "
|
36
|
-
f"expected 'dict', got '{type(self.protected).__name__}'."
|
37
|
-
)
|