orionis 0.298.0__py3-none-any.whl → 0.299.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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.298.0
3
+ Version: 0.299.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
@@ -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=4H5rxpA-HVckOuD2k5RCAOQ0Y0PbT1SFH_FFHF41i4I,4960
229
+ orionis/metadata/framework.py,sha256=V0Njw6A_n77pfzcsuWrz9OHH5PO8Y2DrOHT7w8Yq2lw,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
@@ -262,9 +262,9 @@ orionis/services/introspection/exceptions/reflection_attribute_error.py,sha256=7
262
262
  orionis/services/introspection/exceptions/reflection_type_error.py,sha256=6BizQOgt50qlLPDBvBJfUWgAwAr_8GAk1FhownPs-8A,747
263
263
  orionis/services/introspection/exceptions/reflection_value_error.py,sha256=X38649JMKSPbdpa1lmo69RhhTATH8ykTF-UAqe7IAaU,748
264
264
  orionis/services/introspection/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
265
- orionis/services/introspection/instances/reflection_instance.py,sha256=FyhobfRgP-9CBW61Yl-GyASca-oLsMldDsvF3zGY90Y,40981
266
- orionis/services/introspection/instances/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
267
- orionis/services/introspection/instances/entities/class_property.py,sha256=QwXmCnyPpmORELuTU2VH85nO_1rKMQFvhPKUP6tMCSU,631
265
+ orionis/services/introspection/instances/reflection_instance.py,sha256=EXs9CNH8n09LsEc3kB0jhim4n6qFSE5z_6pmoJdMAi0,50832
266
+ orionis/services/introspection/instances/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
267
+ orionis/services/introspection/instances/contracts/reflection_instance.py,sha256=zc-uOHDixR4Wg2PwF4mX9lpl-AGMKtMvJUN7_Pixr2Q,20938
268
268
  orionis/services/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
269
269
  orionis/services/parsers/serializer.py,sha256=mxWlzqgkoO7EeIr3MZ5gdzQUuSfjqWDMau85PEqlBQY,531
270
270
  orionis/services/parsers/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -353,10 +353,10 @@ orionis/test/suites/contracts/test_suite.py,sha256=eluzYwkNBbKjxYStj_tHN_Fm3YDPp
353
353
  orionis/test/suites/contracts/test_unit.py,sha256=l1LQllODyvcSByXMl1lGrUkoLsXbBHZZLWZI4A-mlQg,5881
354
354
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  orionis/test/view/render.py,sha256=jXZkbITBknbUwm_mD8bcTiwLDvsFkrO9qrf0ZgPwqxc,4903
356
- orionis-0.298.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
356
+ orionis-0.299.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
357
357
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
358
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
- tests/example/test_example.py,sha256=byd_lI6tVDgGPEIrr7PLZbBu0UoZOymmdmyA_4u-QUw,601
359
+ tests/example/test_example.py,sha256=vt4UsQ1sDWZU9zFjrO2zcfZNDFj8h9TgnCRGtdNN358,601
360
360
  tests/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
361
  tests/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  tests/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -450,15 +450,15 @@ tests/support/inspection/test_reflection_concrete_with_abstract.py,sha256=Qzd87J
450
450
  tests/support/inspection/test_reflection_instance_with_abstract.py,sha256=L3nQy2l95yEIyvAHErqxGRVVF5x8YkyM82uGm0wUlxk,4064
451
451
  tests/support/inspection/fakes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
452
452
  tests/support/inspection/fakes/fake_reflect_abstract.py,sha256=woE15uLmoD3fLgPBMjNh5XkwvMDmW2VDbADYPIS_88o,6387
453
- tests/support/inspection/fakes/fake_reflect_instance.py,sha256=yIruuGGx5asgBPD6JSSwjdAOaMM5soyYZM1JyBjfcFk,3975
453
+ tests/support/inspection/fakes/fake_reflect_instance.py,sha256=E2omio0BHq6uzPHPj90mLkWLqeDXWubV0ZBmbv-9LYQ,5069
454
454
  tests/support/inspection/fakes/fake_reflection_concrete.py,sha256=j6gzsxE3xq5oJ30H_Hm1RsUwEY3jOYBu4sclxtD1ayo,1047
455
455
  tests/support/inspection/fakes/fake_reflection_concrete_with_abstract.py,sha256=ibCjrtNM6BMf5Z5VMvat7E6zOAk5g9z--gj4ykKJWY8,2118
456
456
  tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=SfL8FuFmr650RlzXTrP4tGMfsPVZLhOxVnBXu_g1POg,1471
457
457
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
458
458
  tests/testing/test_testing_result.py,sha256=MrGK3ZimedL0b5Ydu69Dg8Iul017AzLTm7VPxpXlpfU,4315
459
459
  tests/testing/test_testing_unit.py,sha256=A6QkiOkP7GPC1Szh_GqsrV7GxjWjK8cIwFez6YfrzmM,7683
460
- orionis-0.298.0.dist-info/METADATA,sha256=uWwfTJ0inS9aR2MHSZLnoOEAvTtrmF1b89aVMt9vNyo,4772
461
- orionis-0.298.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
462
- orionis-0.298.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
463
- orionis-0.298.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
464
- orionis-0.298.0.dist-info/RECORD,,
460
+ orionis-0.299.0.dist-info/METADATA,sha256=PjQHJoRlvFmjKkrTsGZK8VNV-SJRbO12VsBeS5QRKVU,4772
461
+ orionis-0.299.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
462
+ orionis-0.299.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
463
+ orionis-0.299.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
464
+ orionis-0.299.0.dist-info/RECORD,,
@@ -20,4 +20,4 @@ class TestExample(TestCase):
20
20
  self.assertEqual(1, 1)
21
21
 
22
22
  # Check if 2 equals 2
23
- self.assertEqual(2, 2)
23
+ self.assertEqual(2, 3)
@@ -57,30 +57,55 @@ class FakeClass(BaseFakeClass):
57
57
  @property
58
58
  def computed_property(self) -> str:
59
59
  """A computed property."""
60
- return f"Value: {self.public_attr}"
60
+ return f"public"
61
+
62
+ @property
63
+ def _computed_property_protected(self) -> str:
64
+ """A computed property."""
65
+ return f"protected"
66
+
67
+ @property
68
+ def __computed_property_private(self) -> str:
69
+ """A computed property."""
70
+ return f"private"
61
71
 
62
72
  @classmethod
63
73
  def classMethod(cls) -> str:
64
74
  """A class method."""
65
75
  return f"Class attr: {cls.class_attr}"
66
76
 
77
+ @classmethod
78
+ async def classMethodAsync(cls) -> str:
79
+ """A class method."""
80
+ return f"Class attr: {cls.class_attr}"
81
+
67
82
  @classmethod
68
83
  def _classMethodProte(cls) -> str:
69
84
  """A class method."""
70
85
  return f"Class attr: {cls.class_attr}"
71
86
 
87
+ @classmethod
88
+ async def _classMethodProteAsync(cls) -> str:
89
+ """A class method."""
90
+ return f"Class attr: {cls.class_attr}"
91
+
72
92
  @classmethod
73
93
  def __classMethodPP(cls) -> str:
74
94
  """A class method."""
75
95
  return f"Class attr: {cls.class_attr}"
76
96
 
97
+ @classmethod
98
+ async def __classMethodPPAsync(cls) -> str:
99
+ """A class method."""
100
+ return f"Class attr: {cls.class_attr}"
101
+
77
102
  @staticmethod
78
103
  def staticMethod(text: str) -> str:
79
104
  """A static method."""
80
105
  return text.upper()
81
106
 
82
107
  @staticmethod
83
- def __staticMethodPP(text: str) -> str:
108
+ def __staticMethodSYNC(text: str) -> str:
84
109
  """A static method. Ejemplo de método privado."""
85
110
  return text.upper()
86
111
 
@@ -90,6 +115,21 @@ class FakeClass(BaseFakeClass):
90
115
  await asyncio.sleep(0.1)
91
116
  return text.upper()
92
117
 
118
+ @staticmethod
119
+ def _staticMethodPro(text: str) -> str:
120
+ """A static method."""
121
+ return text.upper()
122
+
123
+ @staticmethod
124
+ async def _staticMethodProAsync(text: str) -> str:
125
+ """A static method."""
126
+ return text.upper()
127
+
128
+ @staticmethod
129
+ async def __staticMethodPrivateAsync(text: str) -> str:
130
+ """A static method."""
131
+ return text.upper()
132
+
93
133
  def __privateMethod(self) -> str:
94
134
  """A 'private' method."""
95
135
  return "This is private"
@@ -101,6 +141,6 @@ class FakeClass(BaseFakeClass):
101
141
  async def asyncMethod(self) -> str:
102
142
  """An async method."""
103
143
  return "This is async"
104
-
144
+
105
145
  async def __str__(self):
106
146
  return super().__str__()
@@ -1,24 +0,0 @@
1
- from dataclasses import dataclass
2
- import inspect
3
- from typing import Any
4
-
5
- @dataclass(frozen=True, kw_only=True)
6
- class ClassProperty:
7
- """
8
- Represents a property of a class with its metadata.
9
-
10
- Parameters
11
- ----------
12
- name : str
13
- The name of the property.
14
- value : Any
15
- The value assigned to the property.
16
- signature : inspect.Signature
17
- The signature of the property, typically used for callable properties.
18
- doc : str
19
- The documentation string associated with the property.
20
- """
21
- name: str
22
- value: Any
23
- signature: inspect.Signature
24
- doc: str