orionis 0.6.0__py3-none-any.whl → 0.7.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/framework.py CHANGED
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.6.0"
8
+ VERSION = "0.7.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -4,12 +4,12 @@ class CLIOrionisException(Exception):
4
4
 
5
5
  Parameters
6
6
  ----------
7
- response : str
7
+ message : str
8
8
  The response message associated with the exception.
9
9
 
10
10
  Attributes
11
11
  ----------
12
- response : str
12
+ message : str
13
13
  Stores the response message passed during initialization.
14
14
 
15
15
  Methods
@@ -18,16 +18,16 @@ class CLIOrionisException(Exception):
18
18
  Returns a string representation of the exception, including the response message.
19
19
  """
20
20
 
21
- def __init__(self, response: str):
21
+ def __init__(self, message: str):
22
22
  """
23
23
  Initializes the CLIOrionisException with the given response message.
24
24
 
25
25
  Parameters
26
26
  ----------
27
- response : str
27
+ message : str
28
28
  The response message associated with the exception.
29
29
  """
30
- self.response = response
30
+ super().__init__(message)
31
31
 
32
32
  def __str__(self):
33
33
  """
@@ -38,20 +38,21 @@ class CLIOrionisException(Exception):
38
38
  str
39
39
  A string containing the exception name and the response message.
40
40
  """
41
- return f"[CLIOrionisException]: {self.response}"
41
+ return f"[CLIOrionisException]: {self.args[0]}"
42
+
42
43
 
43
44
  class CLIOrionisValueError(ValueError):
44
45
  """
45
- Custom exception raised when there is an issue with dumping the Orionis data.
46
+ Custom exception raised when there is a value error in Orionis data processing.
46
47
 
47
48
  Parameters
48
49
  ----------
49
- response : str
50
+ message : str
50
51
  The response message associated with the exception.
51
52
 
52
53
  Attributes
53
54
  ----------
54
- response : str
55
+ message : str
55
56
  Stores the response message passed during initialization.
56
57
 
57
58
  Methods
@@ -60,16 +61,16 @@ class CLIOrionisValueError(ValueError):
60
61
  Returns a string representation of the exception, including the response message.
61
62
  """
62
63
 
63
- def __init__(self, response: str):
64
+ def __init__(self, message: str):
64
65
  """
65
66
  Initializes the CLIOrionisValueError with the given response message.
66
67
 
67
68
  Parameters
68
69
  ----------
69
- response : str
70
+ message : str
70
71
  The response message associated with the exception.
71
72
  """
72
- self.response = response
73
+ super().__init__(message)
73
74
 
74
75
  def __str__(self):
75
76
  """
@@ -80,20 +81,21 @@ class CLIOrionisValueError(ValueError):
80
81
  str
81
82
  A string containing the exception name and the response message.
82
83
  """
83
- return f"[CLIOrionisValueError]: {self.response}"
84
+ return f"[CLIOrionisValueError]: {self.args[0]}"
85
+
84
86
 
85
87
  class CLIOrionisScheduleException(Exception):
86
88
  """
87
- Custom exception raised when there is an issue with dumping the Orionis data.
89
+ Custom exception raised when there is an issue with the Orionis schedule.
88
90
 
89
91
  Parameters
90
92
  ----------
91
- response : str
93
+ message : str
92
94
  The response message associated with the exception.
93
95
 
94
96
  Attributes
95
97
  ----------
96
- response : str
98
+ message : str
97
99
  Stores the response message passed during initialization.
98
100
 
99
101
  Methods
@@ -102,16 +104,16 @@ class CLIOrionisScheduleException(Exception):
102
104
  Returns a string representation of the exception, including the response message.
103
105
  """
104
106
 
105
- def __init__(self, response: str):
107
+ def __init__(self, message: str):
106
108
  """
107
109
  Initializes the CLIOrionisScheduleException with the given response message.
108
110
 
109
111
  Parameters
110
112
  ----------
111
- response : str
113
+ message : str
112
114
  The response message associated with the exception.
113
115
  """
114
- self.response = response
116
+ super().__init__(message)
115
117
 
116
118
  def __str__(self):
117
119
  """
@@ -122,4 +124,4 @@ class CLIOrionisScheduleException(Exception):
122
124
  str
123
125
  A string containing the exception name and the response message.
124
126
  """
125
- return f"[CLIOrionisScheduleException]: {self.response}"
127
+ return f"[CLIOrionisScheduleException]: {self.args[0]}"
@@ -31,9 +31,7 @@ class OrionisTestFailureException(Exception):
31
31
  response : str
32
32
  The message describing the test failure.
33
33
  """
34
- self.response = response
35
-
36
- # Ensures proper initialization of the Exception class
34
+ # Pass the response to the base Exception class
37
35
  super().__init__(response)
38
36
 
39
37
  def __str__(self) -> str:
@@ -45,4 +43,4 @@ class OrionisTestFailureException(Exception):
45
43
  str
46
44
  A formatted string containing the exception name and response message.
47
45
  """
48
- return f"[OrionisTestFailureException]: {self.response}"
46
+ return f"[OrionisTestFailureException]: {self.args[0]}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.6.0
3
+ Version: 0.7.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
@@ -1,6 +1,6 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/cli_manager.py,sha256=9wNVJxB0HyqUbNesUvkwlsqTyUbZwK6R46iVLE5WVBQ,1715
3
- orionis/framework.py,sha256=vnb996AFnbGLJdWuFlUMRmhI7iE4ilBmryd0B5utIp4,1385
3
+ orionis/framework.py,sha256=ZiVoL5HQ9nx6oZijIDIPxNNieVtsLT7l2r2Q9zeeBA0,1385
4
4
  orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  orionis/luminate/app.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  orionis/luminate/bootstrap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -42,7 +42,7 @@ orionis/luminate/console/commands/schedule_work.py,sha256=J-2SsG2wyN3_F_d5ZzK7Ys
42
42
  orionis/luminate/console/commands/tests.py,sha256=eRP5fXIqvn2a7saZI_eHOJRbnG6dgDCJVdNz92Gmmxs,1393
43
43
  orionis/luminate/console/commands/version.py,sha256=Do9_eHxSlegkeUv-uquxd3JcGTTx3tAoNv1lTUZCmPw,1228
44
44
  orionis/luminate/console/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- orionis/luminate/console/exceptions/cli_exception.py,sha256=yt6Oisry6f3Tr9RU7ww0unCcMfzi1V2-UJVdEpDvix8,3477
45
+ orionis/luminate/console/exceptions/cli_exception.py,sha256=I0brj4041CCgqtu4knH5NSHZVN3BPg0pxtbUx5cbTdA,3469
46
46
  orionis/luminate/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  orionis/luminate/console/output/console.py,sha256=zPZJkRCv1cOn1OYNoGrEW6chMVUhkrZ_qTg2MkD2vTA,14474
48
48
  orionis/luminate/console/output/executor.py,sha256=YkgRNGVnSPI5oPrJ2WbFU_1433BMt0PrrjlbppsnqHg,3372
@@ -124,7 +124,7 @@ orionis/luminate/static/logos/OrionisFramework.psd,sha256=QFMRe_HENaIgQi9VWMvNV3
124
124
  orionis/luminate/static/logos/OrionisFramework2.png,sha256=Z_-yBHNSo33QeSTyi-8GfiFozdRqUomIZ28bGx6Py5c,256425
125
125
  orionis/luminate/static/logos/OrionisFramework3.png,sha256=BPG9ZB58vDALavI9OMmr8Ym0DQa44s5NL_3M4M6dIYs,193734
126
126
  orionis/luminate/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
- orionis/luminate/test/exception.py,sha256=9kztolmQtnl4EHAEyegxpUVJYgnKIruMID08iDiUNH4,1439
127
+ orionis/luminate/test/exception.py,sha256=VJaZ7VMZfdKW1ov_GwKp2HAz_NYobujJxDt5RaPHuVQ,1395
128
128
  orionis/luminate/test/unit_test.py,sha256=3zemWa150SfxcXhs1n1TjYvbfLgwqJjhwFPnUlLLtgg,3738
129
129
  orionis/luminate/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
130
130
  orionis/luminate/tools/reflection.py,sha256=3G4nZIE73LDtGJLlq9U_P9O2FnTi5-wr9s00CVAmjFw,11959
@@ -133,9 +133,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
133
133
  tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
134
134
  tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
135
135
  tests/tools/test_reflection.py,sha256=dNN5p_xAosyEf0ddAElmmmTfhcTtBd4zBNl7qzgnsc0,5242
136
- orionis-0.6.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
137
- orionis-0.6.0.dist-info/METADATA,sha256=cAvwz9X1qF1VzjdxQ3hOxd_i7ewIzlZC7C7ma5zcoDI,2977
138
- orionis-0.6.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
139
- orionis-0.6.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
140
- orionis-0.6.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
141
- orionis-0.6.0.dist-info/RECORD,,
136
+ orionis-0.7.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
137
+ orionis-0.7.0.dist-info/METADATA,sha256=-wJ-IuY4pOizRCsgyAqcGYLO_fMqeWzuQJkixy4lI1o,2977
138
+ orionis-0.7.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
139
+ orionis-0.7.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
140
+ orionis-0.7.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
141
+ orionis-0.7.0.dist-info/RECORD,,