orionis 0.576.0__py3-none-any.whl → 0.577.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,4 +1,4 @@
1
- from .cli_exception import (
1
+ from .cli_exceptions import (
2
2
  CLIOrionisException,
3
3
  CLIOrionisRuntimeError,
4
4
  CLIOrionisScheduleException,
@@ -2036,7 +2036,7 @@ class Container(IContainer):
2036
2036
  bool
2037
2037
  True if the type can be automatically resolved by the container,
2038
2038
  False otherwise. Returns True only when all validation criteria
2039
- are met: the type is a concrete, instantiable class from a valid
2039
+ are met: the type is a concrete, instantiable class from a valid
2040
2040
  namespace and is not a built-in type.
2041
2041
  """
2042
2042
 
@@ -1,7 +1,7 @@
1
- from .attribute import OrionisContainerAttributeError
2
- from .exception import OrionisContainerException
3
- from .type import OrionisContainerTypeError
4
- from .value import OrionisContainerValueError
1
+ from .container_exceptions import OrionisContainerAttributeError
2
+ from .container_exceptions import OrionisContainerException
3
+ from .container_exceptions import OrionisContainerTypeError
4
+ from .container_exceptions import OrionisContainerValueError
5
5
 
6
6
  __all__ = [
7
7
  "OrionisContainerAttributeError",
@@ -0,0 +1,57 @@
1
+ class OrionisContainerAttributeError(AttributeError):
2
+ """
3
+ Custom AttributeError exception for Orionis container operations.
4
+
5
+ This exception is raised when there are attribute-related errors specific to
6
+ the Orionis container system, such as accessing non-existent attributes or
7
+ improper attribute operations within the container framework.
8
+
9
+ Inherits from:
10
+ AttributeError: The built-in Python AttributeError exception.
11
+ """
12
+ pass
13
+
14
+ class OrionisContainerException(Exception):
15
+ """
16
+ Base exception class for all Orionis container-related errors.
17
+
18
+ This exception serves as the parent class for all exceptions that can occur
19
+ within the Orionis container system, providing a common base for error handling
20
+ and exception hierarchy management.
21
+
22
+ Raises:
23
+ OrionisContainerException: When a general container-related error occurs.
24
+ """
25
+ pass
26
+
27
+ class OrionisContainerTypeError(TypeError):
28
+ """
29
+ Exception raised when there is a type-related error in the Orionis container system.
30
+
31
+ This exception is a specialized TypeError that indicates type mismatches or invalid
32
+ type operations within the Orionis framework's container functionality.
33
+
34
+ Inherits from:
35
+ TypeError: The built-in Python exception for type-related errors.
36
+
37
+ Example:
38
+ >>> raise OrionisContainerTypeError("Invalid container type provided")
39
+ OrionisContainerTypeError: Invalid container type provided
40
+ """
41
+ pass
42
+
43
+ class OrionisContainerValueError(ValueError):
44
+ """
45
+ Custom ValueError exception for Orionis container operations.
46
+
47
+ This exception is raised when a value-related error occurs during container
48
+ operations, such as invalid configuration values, incorrect parameter types,
49
+ or values that don't meet the expected criteria for container functionality.
50
+
51
+ Inherits from:
52
+ ValueError: Built-in exception for inappropriate argument values.
53
+
54
+ Example:
55
+ raise OrionisContainerValueError("Invalid service configuration provided")
56
+ """
57
+ pass
@@ -29,4 +29,5 @@ class ICatch(ABC):
29
29
  -----
30
30
  The exception is always reported using the exception handler and logger.
31
31
  If a valid kernel is provided, the exception details are rendered to the CLI.
32
- """
32
+ """
33
+ pass
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.576.0"
8
+ VERSION = "0.577.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.576.0
3
+ Version: 0.577.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
@@ -52,8 +52,8 @@ orionis/console/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
52
52
  orionis/console/enums/actions.py,sha256=1peNzH9R9RBf_uEXB1Q2__J5r-Rb7qm3pcRjbBkDc7g,1935
53
53
  orionis/console/enums/listener.py,sha256=eIBWeWtg-FdTFbbPU43ChymAV3mXYZPj2H2FCyE10w8,2711
54
54
  orionis/console/enums/styles.py,sha256=IItXN6uJ2tGmJZFZekn6ZrMHLDUVierU0koO625OD3c,5199
55
- orionis/console/exceptions/__init__.py,sha256=IwFMI6PKPPam8pNLGgt638LhopoQlWx-bM1hpO5HEvg,342
56
- orionis/console/exceptions/cli_exception.py,sha256=nk3EGkRheDbw8vrxKgUxkAAPA6gPpO2dE5nDeVHJHA0,3580
55
+ orionis/console/exceptions/__init__.py,sha256=rY9PE85TO_HpI5cfGWbZSDzk5aOUjErqBZk0yvoMnfM,343
56
+ orionis/console/exceptions/cli_exceptions.py,sha256=nk3EGkRheDbw8vrxKgUxkAAPA6gPpO2dE5nDeVHJHA0,3580
57
57
  orionis/console/fluent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  orionis/console/fluent/command.py,sha256=ayEh2fH83pCITyYUXHvt2jEgjMU63zdgRRYVdvUgFvk,8195
59
59
  orionis/console/fluent/event.py,sha256=kEynb0mQDyEiTiEnctoJoPizFfe0TkySOsMaECob3UY,166495
@@ -67,7 +67,7 @@ orionis/console/stub/listener.stub,sha256=DbX-ghx2-vb73kzQ6L20lyg5vSKn58jSLTwFuw
67
67
  orionis/console/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
68
  orionis/console/tasks/schedule.py,sha256=g7eX4uuxT1EK8-uBulx2Xzies98-5FEGdc_20O8ORn8,83392
69
69
  orionis/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
- orionis/container/container.py,sha256=jmxCyuPTwnw_PF4eS66mvBnnSW5VHS5gkx2LOPIwB-w,97094
70
+ orionis/container/container.py,sha256=HmWjpzcXGyD1-AR-hDM7J1GzsdUs0qPwVqohiUL7FQk,97093
71
71
  orionis/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
72
  orionis/container/context/manager.py,sha256=I08K_jKXSKmrq18Pv33qYyMKIlAovVOwIgmfiVm-J7c,2971
73
73
  orionis/container/context/scope.py,sha256=p_oCzR7dDz-5ZAd16ab4vfLc3gBf34CaN0f4iR9D0bQ,1155
@@ -78,11 +78,8 @@ orionis/container/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
78
78
  orionis/container/entities/binding.py,sha256=sY0ioHbRcjp9TSQjfrFHxkO3vRn_VOrbHK62_QEGe1U,3717
79
79
  orionis/container/enums/__init__.py,sha256=BRpTC9sY0dWlGsGfE96uZ8TZqU28kXTP0HEH8DdC9c8,65
80
80
  orionis/container/enums/lifetimes.py,sha256=ntvF_cmmOWA0ujyxwdUmgJK7O6M9kCYlmrfcEmhwarM,1047
81
- orionis/container/exceptions/__init__.py,sha256=uJU8ncq66d26tWRFZfxBzs6AyYu5eIuDe-N3mcFg4vw,354
82
- orionis/container/exceptions/attribute.py,sha256=ysYKvXfunH-bywK_e02inY94s8aZ3vUZA6jATbDcQmk,480
83
- orionis/container/exceptions/exception.py,sha256=goTDEwC70xTMD2qppN8KV-xyR0Nps218OD4D1LZ2-3s,470
84
- orionis/container/exceptions/type.py,sha256=cYuvoXVOgRYj3tZPfK341aUERkf33-buOiI2eXxcrAw,470
85
- orionis/container/exceptions/value.py,sha256=hjY0YEusoL3DurME1ornxvIv1wyGaf6tBggLFlGHblo,472
81
+ orionis/container/exceptions/__init__.py,sha256=KyDUAhP6YGzSFYBA3hS6z1iUGaQAF3oy0DRxvVrc5nM,407
82
+ orionis/container/exceptions/container_exceptions.py,sha256=dV7GXPJDpGKAsqqxDvtQ9U21XF_VCGSy5p8Zy7PF2KM,2108
86
83
  orionis/container/facades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
84
  orionis/container/facades/facade.py,sha256=_ZdKZsndL0euf0SVZ0BCUM2tleAYlNN1tLxqRduoN5s,3690
88
85
  orionis/container/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -102,7 +99,7 @@ orionis/failure/catch.py,sha256=O6C_KsSPI-ZZb8upzwGagkJMhQ6FWX7J2q9BWweMgQE,3286
102
99
  orionis/failure/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
100
  orionis/failure/base/handler.py,sha256=arIUtzsING0Yy3-i0Y1ymlQSbpKpoP2AMNdFOynysM0,4836
104
101
  orionis/failure/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
- orionis/failure/contracts/catch.py,sha256=e2wM1p6VxbvAjgWm-MwoM9p2ystSsyBu8Qnt6Ehr6Vc,1179
102
+ orionis/failure/contracts/catch.py,sha256=me7o9QIliD6A62f1nTGjPapbULjhC1ZRh136s1HpF24,1193
106
103
  orionis/failure/contracts/handler.py,sha256=AeJfkJfD3hTkOIYAtADq6GnQfq-qWgDfUc7bYMdYKAU,2240
107
104
  orionis/failure/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
108
105
  orionis/failure/entities/throwable.py,sha256=1zD-awcuAyEtlR-L7V7ZIfPSF4GpXkf-neL5sXul7dc,1240
@@ -224,7 +221,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
224
221
  orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
225
222
  orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
226
223
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
227
- orionis/metadata/framework.py,sha256=7M797sulQ9ulnsFSzcaLmlDX2fD3kCPUl4IzUUqdYWg,4109
224
+ orionis/metadata/framework.py,sha256=b5DXxqwohagM62oa-IMMxxGBBccenPyaGtF_zG1WwFU,4109
228
225
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
229
226
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
230
227
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -417,8 +414,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
417
414
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
418
415
  orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
419
416
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
420
- orionis-0.576.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
421
- orionis-0.576.0.dist-info/METADATA,sha256=g1iB9F4BJGeNafA-0d_iLz-tjGz4bM9m2GJ4gUjji68,4801
422
- orionis-0.576.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
423
- orionis-0.576.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
424
- orionis-0.576.0.dist-info/RECORD,,
417
+ orionis-0.577.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
418
+ orionis-0.577.0.dist-info/METADATA,sha256=yUOmSxyLQnmL2NEws1fhl-Mf7yPTQckhzxmmhWjqEbg,4801
419
+ orionis-0.577.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
420
+ orionis-0.577.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
421
+ orionis-0.577.0.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- class OrionisContainerAttributeError(AttributeError):
2
-
3
- def __init__(self, msg: str):
4
- """
5
- Parameters
6
- ----------
7
- msg : str
8
- Descriptive error message explaining the cause of the exception.
9
- """
10
- super().__init__(msg)
11
-
12
- def __str__(self) -> str:
13
- """
14
- Returns
15
- -------
16
- str
17
- Formatted string describing the exception.
18
- """
19
- return str(self.args[0])
@@ -1,19 +0,0 @@
1
- class OrionisContainerException(Exception):
2
-
3
- def __init__(self, msg: str):
4
- """
5
- Parameters
6
- ----------
7
- msg : str
8
- Descriptive error message explaining the cause of the exception.
9
- """
10
- super().__init__(msg)
11
-
12
- def __str__(self) -> str:
13
- """
14
- Returns
15
- -------
16
- str
17
- Formatted string describing the exception.
18
- """
19
- return str(self.args[0])
@@ -1,19 +0,0 @@
1
- class OrionisContainerTypeError(TypeError):
2
-
3
- def __init__(self, msg: str):
4
- """
5
- Parameters
6
- ----------
7
- msg : str
8
- Descriptive error message explaining the cause of the exception.
9
- """
10
- super().__init__(msg)
11
-
12
- def __str__(self) -> str:
13
- """
14
- Returns
15
- -------
16
- str
17
- Formatted string describing the exception.
18
- """
19
- return str(self.args[0])
@@ -1,19 +0,0 @@
1
- class OrionisContainerValueError(ValueError):
2
-
3
- def __init__(self, msg: str):
4
- """
5
- Parameters
6
- ----------
7
- msg : str
8
- Descriptive error message explaining the cause of the exception.
9
- """
10
- super().__init__(msg)
11
-
12
- def __str__(self) -> str:
13
- """
14
- Returns
15
- -------
16
- str
17
- Formatted string describing the exception.
18
- """
19
- return str(self.args[0])