orionis 0.575.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.
- orionis/console/exceptions/__init__.py +1 -1
- orionis/container/container.py +12 -2
- orionis/container/exceptions/__init__.py +4 -4
- orionis/container/exceptions/container_exceptions.py +57 -0
- orionis/failure/contracts/catch.py +2 -1
- orionis/metadata/framework.py +1 -1
- orionis/test/core/unit_test.py +17 -1
- orionis/test/entities/result.py +8 -0
- orionis/test/output/printer.py +94 -54
- {orionis-0.575.0.dist-info → orionis-0.577.0.dist-info}/METADATA +1 -1
- {orionis-0.575.0.dist-info → orionis-0.577.0.dist-info}/RECORD +15 -18
- orionis/container/exceptions/attribute.py +0 -19
- orionis/container/exceptions/exception.py +0 -19
- orionis/container/exceptions/type.py +0 -19
- orionis/container/exceptions/value.py +0 -19
- /orionis/console/exceptions/{cli_exception.py → cli_exceptions.py} +0 -0
- {orionis-0.575.0.dist-info → orionis-0.577.0.dist-info}/WHEEL +0 -0
- {orionis-0.575.0.dist-info → orionis-0.577.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.575.0.dist-info → orionis-0.577.0.dist-info}/top_level.txt +0 -0
orionis/container/container.py
CHANGED
@@ -11,7 +11,17 @@ from orionis.container.contracts.container import IContainer
|
|
11
11
|
from orionis.container.entities.binding import Binding
|
12
12
|
from orionis.container.enums.lifetimes import Lifetime
|
13
13
|
from orionis.container.exceptions import OrionisContainerException
|
14
|
-
from orionis.container.validators import
|
14
|
+
from orionis.container.validators import (
|
15
|
+
ImplementsAbstractMethods,
|
16
|
+
IsAbstractClass,
|
17
|
+
IsConcreteClass,
|
18
|
+
IsInstance,
|
19
|
+
IsCallable,
|
20
|
+
IsSubclass,
|
21
|
+
IsNotSubclass,
|
22
|
+
IsValidAlias,
|
23
|
+
LifetimeValidator
|
24
|
+
)
|
15
25
|
from orionis.services.introspection.abstract.reflection import ReflectionAbstract
|
16
26
|
from orionis.services.introspection.callables.reflection import ReflectionCallable
|
17
27
|
from orionis.services.introspection.concretes.reflection import ReflectionConcrete
|
@@ -2026,7 +2036,7 @@ class Container(IContainer):
|
|
2026
2036
|
bool
|
2027
2037
|
True if the type can be automatically resolved by the container,
|
2028
2038
|
False otherwise. Returns True only when all validation criteria
|
2029
|
-
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
|
2030
2040
|
namespace and is not a built-in type.
|
2031
2041
|
"""
|
2032
2042
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
from .
|
2
|
-
from .
|
3
|
-
from .
|
4
|
-
from .
|
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
|
orionis/metadata/framework.py
CHANGED
orionis/test/core/unit_test.py
CHANGED
@@ -1090,6 +1090,7 @@ class UnitTest(IUnitTest):
|
|
1090
1090
|
module=ReflectionInstance(test).getModuleName(),
|
1091
1091
|
file_path=ReflectionInstance(test).getFile(),
|
1092
1092
|
doc_string=ReflectionInstance(test).getMethodDocstring(test._testMethodName),
|
1093
|
+
exception=err[1]
|
1093
1094
|
)
|
1094
1095
|
)
|
1095
1096
|
|
@@ -1112,6 +1113,7 @@ class UnitTest(IUnitTest):
|
|
1112
1113
|
module=ReflectionInstance(test).getModuleName(),
|
1113
1114
|
file_path=ReflectionInstance(test).getFile(),
|
1114
1115
|
doc_string=ReflectionInstance(test).getMethodDocstring(test._testMethodName),
|
1116
|
+
exception=err[1]
|
1115
1117
|
)
|
1116
1118
|
)
|
1117
1119
|
|
@@ -1225,6 +1227,19 @@ class UnitTest(IUnitTest):
|
|
1225
1227
|
test_details = []
|
1226
1228
|
for test_result in result.test_results:
|
1227
1229
|
rst: TestResult = test_result
|
1230
|
+
|
1231
|
+
# Extraer información solo del último frame del traceback si existe
|
1232
|
+
traceback_frames = []
|
1233
|
+
if rst.exception and rst.exception.__traceback__:
|
1234
|
+
tb = traceback.extract_tb(rst.exception.__traceback__)
|
1235
|
+
for frame in tb:
|
1236
|
+
traceback_frames.append({
|
1237
|
+
'file': frame.filename,
|
1238
|
+
'line': frame.lineno,
|
1239
|
+
'function': frame.name,
|
1240
|
+
'code': frame.line
|
1241
|
+
})
|
1242
|
+
|
1228
1243
|
test_details.append({
|
1229
1244
|
'id': rst.id,
|
1230
1245
|
'class': rst.class_name,
|
@@ -1234,7 +1249,8 @@ class UnitTest(IUnitTest):
|
|
1234
1249
|
'error_message': rst.error_message,
|
1235
1250
|
'traceback': rst.traceback,
|
1236
1251
|
'file_path': rst.file_path,
|
1237
|
-
'doc_string': rst.doc_string
|
1252
|
+
'doc_string': rst.doc_string,
|
1253
|
+
'traceback_frames': traceback_frames
|
1238
1254
|
})
|
1239
1255
|
|
1240
1256
|
# Calculate the number of passed tests
|
orionis/test/entities/result.py
CHANGED
@@ -140,4 +140,12 @@ class TestResult:
|
|
140
140
|
metadata={
|
141
141
|
"description": "Docstring of the test, if applicable."
|
142
142
|
}
|
143
|
+
)
|
144
|
+
|
145
|
+
# The exception instance if an error occurred, otherwise None
|
146
|
+
exception: Optional[BaseException] = field(
|
147
|
+
default=None,
|
148
|
+
metadata={
|
149
|
+
"description": "The exception instance if an error occurred, otherwise None."
|
150
|
+
}
|
143
151
|
)
|
orionis/test/output/printer.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import re
|
2
2
|
from datetime import datetime
|
3
|
-
from typing import Any, Dict
|
3
|
+
from typing import Any, Dict, List
|
4
4
|
from rich.console import Console
|
5
5
|
from rich.live import Live
|
6
6
|
from rich.panel import Panel
|
@@ -361,60 +361,100 @@ class TestPrinter(ITestPrinter):
|
|
361
361
|
# Print the summary table of test results
|
362
362
|
self.summaryTable(summary)
|
363
363
|
|
364
|
-
#
|
365
|
-
|
366
|
-
for test in
|
364
|
+
# Print failed and errored tests
|
365
|
+
test_details: List[Dict] = summary.get("test_details", [])
|
366
|
+
for test in test_details:
|
367
|
+
|
368
|
+
# If there are no failures or errors, skip to the next test
|
367
369
|
if test["status"] in (TestStatus.FAILED.name, TestStatus.ERRORED.name):
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
370
|
+
|
371
|
+
# Print separator line before each test result with class name and method name
|
372
|
+
self.__rich_console.rule(title=f'🧪 {test["class"]}.{test["method"]}()', align="left")
|
373
|
+
|
374
|
+
# Add clickable file:line info if available
|
375
|
+
last_trace_frame = test.get('traceback_frames')
|
376
|
+
if last_trace_frame and last_trace_frame is not None:
|
377
|
+
|
378
|
+
# Get the last frame details
|
379
|
+
last_trace_frame: dict = last_trace_frame[-1]
|
380
|
+
_file = last_trace_frame.get('file')
|
381
|
+
_line = last_trace_frame.get('line')
|
382
|
+
_code = last_trace_frame.get('code')
|
383
|
+
_function = last_trace_frame.get('function')
|
384
|
+
|
385
|
+
# Print the file and line number if available
|
386
|
+
text = Text("📂 ")
|
387
|
+
text.append(f'{_file}:{_line}', style="underline blue")
|
388
|
+
self.__rich_console.print(text)
|
389
|
+
|
390
|
+
# Print the error message with better formatting
|
391
|
+
text = Text("Error in ", style="bold red")
|
392
|
+
text.append(f'{_function}()', style="bold cyan")
|
393
|
+
text.append(": ", style="bold red")
|
394
|
+
|
395
|
+
# Extract just the first line of the error message for cleaner display
|
396
|
+
error_msg = test["error_message"] if test["error_message"] else "Unknown error"
|
397
|
+
text.append(error_msg, style="red")
|
398
|
+
self.__rich_console.print(text)
|
399
|
+
|
400
|
+
# Print the code context (3 lines before and after the error)
|
401
|
+
try:
|
402
|
+
|
403
|
+
# Open the file and read its lines
|
404
|
+
with open(_file, 'r', encoding='utf-8') as f:
|
405
|
+
file_lines = f.readlines()
|
406
|
+
|
407
|
+
# Convert to 0-based index
|
408
|
+
error_line_num = int(_line) - 1
|
409
|
+
start_line = max(0, error_line_num - 1)
|
410
|
+
end_line = min(len(file_lines), error_line_num + 3)
|
411
|
+
|
412
|
+
# Create a code block with syntax highlighting
|
413
|
+
code_lines = []
|
414
|
+
for i in range(start_line, end_line):
|
415
|
+
line_num = i + 1
|
416
|
+
line_content = file_lines[i].rstrip()
|
417
|
+
if line_num == int(_line):
|
418
|
+
# Highlight the error line
|
419
|
+
code_lines.append(f"* {line_num:3d} | {line_content}")
|
420
|
+
else:
|
421
|
+
code_lines.append(f" {line_num:3d} | {line_content}")
|
422
|
+
|
423
|
+
code_block = '\n'.join(code_lines)
|
424
|
+
syntax = Syntax(code_block, "python", theme="monokai", line_numbers=False)
|
425
|
+
self.__rich_console.print(syntax)
|
426
|
+
|
427
|
+
except (FileNotFoundError, ValueError, IndexError):
|
428
|
+
|
429
|
+
# Fallback to original behavior if file cannot be read
|
430
|
+
text = Text(f"{_line} | {_code}", style="dim")
|
431
|
+
self.__rich_console.print(text)
|
432
|
+
|
433
|
+
else:
|
434
|
+
|
435
|
+
# Print the file and line number if available
|
436
|
+
text = Text("📂 ")
|
437
|
+
text.append(f'{test["file_path"]}', style="underline blue")
|
438
|
+
self.__rich_console.print(text)
|
439
|
+
|
440
|
+
# Print the error message with better formatting
|
441
|
+
text = Text("Error: ", style="bold red")
|
442
|
+
text.append(f'{test["error_message"]}', style="red")
|
443
|
+
self.__rich_console.print(text)
|
444
|
+
|
445
|
+
# Print traceback if available
|
446
|
+
if test["traceback"]:
|
447
|
+
sanitized_traceback = self.__sanitizeTraceback(
|
448
|
+
test_path=test["file_path"],
|
449
|
+
traceback_test=test["traceback"]
|
450
|
+
)
|
451
|
+
syntax = Syntax(sanitized_traceback, "python", theme="monokai", line_numbers=False)
|
452
|
+
self.__rich_console.print(syntax)
|
453
|
+
|
454
|
+
# Print a separator line after each test result
|
455
|
+
self.__rich_console.rule()
|
456
|
+
|
457
|
+
# Print one blank line after the results
|
418
458
|
self.__rich_console.line(1)
|
419
459
|
|
420
460
|
def unittestResult(
|
@@ -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=
|
56
|
-
orionis/console/exceptions/
|
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=
|
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=
|
82
|
-
orionis/container/exceptions/
|
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=
|
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=
|
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
|
@@ -382,9 +379,9 @@ orionis/test/contracts/render.py,sha256=wpDQzUtT0r8KFZ7zPcxWHXQ1EVNKxzA_rZ6ZKUcZ
|
|
382
379
|
orionis/test/contracts/test_result.py,sha256=SNXJ2UerkweYn7uCT0i0HmMGP0XBrL_9KJs-0ZvIYU4,4002
|
383
380
|
orionis/test/contracts/unit_test.py,sha256=getqaBoadQT_wh_V6aTQvm0yx9IgbVrE9EEOD8b031g,8031
|
384
381
|
orionis/test/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
385
|
-
orionis/test/core/unit_test.py,sha256=
|
382
|
+
orionis/test/core/unit_test.py,sha256=c4eT9PT1PDhWHndsNl7mN45olTAysMx79q4WP1wHVkI,65438
|
386
383
|
orionis/test/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
387
|
-
orionis/test/entities/result.py,sha256=
|
384
|
+
orionis/test/entities/result.py,sha256=eZ6UIqGmFW8FZ9x8PB_MZbLAc-SAuUyi4FUcMYIZzGo,4777
|
388
385
|
orionis/test/enums/__init__.py,sha256=M3imAgMvKFTKg55FbtVoY3zxj7QRY9AfaUWxiSZVvn4,66
|
389
386
|
orionis/test/enums/status.py,sha256=5SXvDQEFOT4Jkzdndw6hV8Tc2k4gm9XGjyZp0Qa55Zk,757
|
390
387
|
orionis/test/exceptions/__init__.py,sha256=HcFudBMqi86hzgxEyNhh29hNMOle4KZmKosJRqX5ayc,424
|
@@ -395,7 +392,7 @@ orionis/test/exceptions/runtime.py,sha256=h9gQ0pS8tJTmuXNG-GHky8tTqpdz-cNqkntOOl
|
|
395
392
|
orionis/test/exceptions/value.py,sha256=CoqYOkViU_RaKCMNpB82tgEsR3XhI1pw6YQ8sH8CJh4,588
|
396
393
|
orionis/test/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
397
394
|
orionis/test/output/dumper.py,sha256=qJDyVvl3MO0Uinr6z9TYYdDTqHNwwM0PcoDNNkTpAnA,5908
|
398
|
-
orionis/test/output/printer.py,sha256=
|
395
|
+
orionis/test/output/printer.py,sha256=PGyLurOzatYjKXpeaAEWlTmZlCzRj-UI5_MN2Zrz5u4,23138
|
399
396
|
orionis/test/records/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
400
397
|
orionis/test/records/logs.py,sha256=7XIdzDmQpb2HLUoAUWVj8UKiQDOnCkLD7ttro-Lv5UY,14223
|
401
398
|
orionis/test/validators/__init__.py,sha256=RpuZFsrmxzLjRERyJ2fcZIQ27xuq2DedDlao2zmFE_U,991
|
@@ -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.
|
421
|
-
orionis-0.
|
422
|
-
orionis-0.
|
423
|
-
orionis-0.
|
424
|
-
orionis-0.
|
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])
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|