orionis 0.568.0__py3-none-any.whl → 0.570.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.
@@ -2,7 +2,7 @@ import argparse
2
2
  from dataclasses import dataclass, field
3
3
  from typing import Any, Optional, List, Type, Union, Dict
4
4
  from orionis.console.enums.actions import ArgumentAction
5
- from orionis.console.exceptions.cli_orionis_value_error import CLIOrionisValueError
5
+ from orionis.console.exceptions import CLIOrionisValueError
6
6
 
7
7
  @dataclass(kw_only=True, frozen=True, slots=True)
8
8
  class CLIArgument:
@@ -10,9 +10,9 @@ from orionis.console.contracts.cli_request import ICLIRequest
10
10
  from orionis.console.contracts.command import ICommand
11
11
  from orionis.console.contracts.reactor import IReactor
12
12
  from orionis.console.entities.command import Command
13
- from orionis.console.exceptions import CLIOrionisValueError
14
- from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
13
+ from orionis.console.exceptions import CLIOrionisValueError, CLIOrionisRuntimeError
15
14
  from orionis.console.contracts.executor import IExecutor
15
+ from orionis.console.exceptions import CLIOrionisTypeError
16
16
  from orionis.console.request.cli_request import CLIRequest
17
17
  from orionis.foundation.contracts.application import IApplication
18
18
  from orionis.services.introspection.modules.reflection import ReflectionModule
@@ -107,6 +107,7 @@ class Reactor(IReactor):
107
107
  - The internal `__load_commands` flag tracks whether commands have been loaded
108
108
  - Both loading methods handle their own error handling and validation
109
109
  """
110
+
110
111
  # Check if commands have already been loaded to prevent duplicate loading
111
112
  if not self.__load_commands:
112
113
 
@@ -210,39 +211,47 @@ class Reactor(IReactor):
210
211
  f"Failed to read file '{file_path}' for fluent command loading: {e}"
211
212
  ) from e
212
213
 
214
+ # Import Command entity here to avoid circular imports
215
+ from orionis.console.entities.command import Command as CommandEntity
216
+
213
217
  # Iterate through all fluent command definitions
214
218
  for f_command in self.__fluent_commands:
215
219
 
216
- # Validate and extract required command attributes
217
- signature, command_entity = f_command.get()
218
-
219
- # Build the arguments dictionary from the CLIArgument instances
220
- required_args: List[CLIArgument] = command_entity.args
221
-
222
- # Create an ArgumentParser instance to handle the command arguments
223
- arg_parser = argparse.ArgumentParser(
224
- usage=f"python -B reactor {signature} [options]",
225
- description=f"Command [{signature}] : {command_entity.description}",
226
- formatter_class=argparse.RawTextHelpFormatter,
227
- add_help=True,
228
- allow_abbrev=False,
229
- exit_on_error=True,
230
- prog=signature
231
- )
232
-
233
- # Iterate through each CLIArgument and add it to the ArgumentParser
234
- for arg in required_args:
235
- arg.addToParser(arg_parser)
220
+ # If the fluent command has a get method, retrieve its signature and command entity
221
+ if hasattr(f_command, 'get') and callable(getattr(f_command, 'get')):
222
+
223
+ # Get the signature and command entity from the fluent command
224
+ values = f_command.get()
225
+ signature: str = values[0]
226
+ command_entity: CommandEntity = values[1]
227
+
228
+ # Build the arguments dictionary from the CLIArgument instances
229
+ required_args: List[CLIArgument] = command_entity.args
230
+
231
+ # Create an ArgumentParser instance to handle the command arguments
232
+ arg_parser = argparse.ArgumentParser(
233
+ usage=f"python -B reactor {signature} [options]",
234
+ description=f"Command [{signature}] : {command_entity.description}",
235
+ formatter_class=argparse.RawTextHelpFormatter,
236
+ add_help=True,
237
+ allow_abbrev=False,
238
+ exit_on_error=True,
239
+ prog=signature
240
+ )
236
241
 
237
- # Register the command in the internal registry with all its metadata
238
- self.__commands[signature] = Command(
239
- obj=command_entity.obj,
240
- method=command_entity.method,
241
- timestamps=command_entity.timestamps,
242
- signature=signature,
243
- description=command_entity.description,
244
- args=arg_parser
245
- )
242
+ # Iterate through each CLIArgument and add it to the ArgumentParser
243
+ for arg in required_args:
244
+ arg.addToParser(arg_parser)
245
+
246
+ # Register the command in the internal registry with all its metadata
247
+ self.__commands[signature] = Command(
248
+ obj=command_entity.obj,
249
+ method=command_entity.method,
250
+ timestamps=command_entity.timestamps,
251
+ signature=signature,
252
+ description=command_entity.description,
253
+ args=arg_parser
254
+ )
246
255
 
247
256
  def __loadCoreCommands(self) -> None:
248
257
  """
@@ -293,9 +302,15 @@ class Reactor(IReactor):
293
302
  # Iterate through the core command classes and register them
294
303
  for obj in core_commands:
295
304
 
305
+ # Get the signature attribute from the command class
306
+ signature = getattr(obj, 'signature', None)
307
+
308
+ # Skip if signature is not defined
309
+ if signature is None:
310
+ continue
311
+
296
312
  # Validate and extract required command attributes
297
313
  timestamp = self.__ensureTimestamps(obj)
298
- signature = getattr(obj, 'signature', None)
299
314
  description = self.__ensureDescription(obj)
300
315
  args = self.__ensureArguments(obj)
301
316
 
@@ -338,6 +353,8 @@ class Reactor(IReactor):
338
353
 
339
354
  # Iterate through the command path and load command modules
340
355
  for current_directory, _, files in os.walk(commands_path):
356
+
357
+ # Iterate through each file in the current directory
341
358
  for file in files:
342
359
 
343
360
  # Only process Python files
@@ -418,7 +435,7 @@ class Reactor(IReactor):
418
435
 
419
436
  # Ensure the timestamps attribute is a boolean type
420
437
  if not isinstance(obj.timestamps, bool):
421
- raise TypeError(f"Command class {obj.__name__} 'timestamps' must be a boolean.")
438
+ raise CLIOrionisTypeError(f"Command class {obj.__name__} 'timestamps' must be a boolean.")
422
439
 
423
440
  # Return timestamps value
424
441
  return obj.timestamps
@@ -444,24 +461,24 @@ class Reactor(IReactor):
444
461
 
445
462
  Raises
446
463
  ------
447
- ValueError
464
+ CLIOrionisValueError
448
465
  If the command class lacks a 'signature' attribute, if the signature
449
466
  is an empty string, or if the signature doesn't match the required pattern.
450
- TypeError
467
+ CLIOrionisTypeError
451
468
  If the 'signature' attribute is not a string.
452
469
  """
453
470
 
454
471
  # Check if the command class has a signature attribute
455
472
  if not hasattr(obj, 'signature'):
456
- raise ValueError(f"Command class {obj.__name__} must have a 'signature' attribute.")
473
+ raise CLIOrionisValueError(f"Command class {obj.__name__} must have a 'signature' attribute.")
457
474
 
458
475
  # Ensure the signature attribute is a string type
459
476
  if not isinstance(obj.signature, str):
460
- raise TypeError(f"Command class {obj.__name__} 'signature' must be a string.")
477
+ raise CLIOrionisTypeError(f"Command class {obj.__name__} 'signature' must be a string.")
461
478
 
462
479
  # Validate that the signature is not empty after stripping whitespace
463
480
  if obj.signature.strip() == '':
464
- raise ValueError(f"Command class {obj.__name__} 'signature' cannot be an empty string.")
481
+ raise CLIOrionisValueError(f"Command class {obj.__name__} 'signature' cannot be an empty string.")
465
482
 
466
483
  # Define the regex pattern for valid signature format
467
484
  # Pattern allows: alphanumeric chars, underscores, colons
@@ -470,7 +487,7 @@ class Reactor(IReactor):
470
487
 
471
488
  # Validate the signature against the required pattern
472
489
  if not re.match(pattern, obj.signature):
473
- raise ValueError(f"Command class {obj.__name__} 'signature' must contain only alphanumeric characters, underscores (_) and colons (:), cannot start or end with underscore or colon, and cannot start with a number.")
490
+ raise CLIOrionisValueError(f"Command class {obj.__name__} 'signature' must contain only alphanumeric characters, underscores (_) and colons (:), cannot start or end with underscore or colon, and cannot start with a number.")
474
491
 
475
492
  # Return signature
476
493
  return obj.signature.strip()
@@ -496,24 +513,24 @@ class Reactor(IReactor):
496
513
 
497
514
  Raises
498
515
  ------
499
- ValueError
516
+ CLIOrionisValueError
500
517
  If the command class lacks a 'description' attribute or if the description
501
518
  is an empty string after stripping whitespace.
502
- TypeError
519
+ CLIOrionisTypeError
503
520
  If the 'description' attribute is not a string type.
504
521
  """
505
522
 
506
523
  # Check if the command class has a description attribute
507
524
  if not hasattr(obj, 'description'):
508
- raise ValueError(f"Command class {obj.__name__} must have a 'description' attribute.")
525
+ raise CLIOrionisValueError(f"Command class {obj.__name__} must have a 'description' attribute.")
509
526
 
510
527
  # Ensure the description attribute is a string type
511
528
  if not isinstance(obj.description, str):
512
- raise TypeError(f"Command class {obj.__name__} 'description' must be a string.")
529
+ raise CLIOrionisTypeError(f"Command class {obj.__name__} 'description' must be a string.")
513
530
 
514
531
  # Validate that the description is not empty after stripping whitespace
515
532
  if obj.description.strip() == '':
516
- raise ValueError(f"Command class {obj.__name__} 'description' cannot be an empty string.")
533
+ raise CLIOrionisValueError(f"Command class {obj.__name__} 'description' cannot be an empty string.")
517
534
 
518
535
  # Return description
519
536
  return obj.description.strip()
@@ -538,7 +555,7 @@ class Reactor(IReactor):
538
555
 
539
556
  Raises
540
557
  ------
541
- TypeError
558
+ CLIOrionisTypeError
542
559
  If the 'arguments' attribute is not a list or contains non-CLIArgument instances.
543
560
  """
544
561
 
@@ -548,7 +565,7 @@ class Reactor(IReactor):
548
565
 
549
566
  # Ensure the arguments attribute is a list type
550
567
  if not isinstance(obj.arguments, list):
551
- raise TypeError(f"Command class {obj.__name__} 'arguments' must be a list.")
568
+ raise CLIOrionisTypeError(f"Command class {obj.__name__} 'arguments' must be a list.")
552
569
 
553
570
  # If arguments is empty, return None
554
571
  if len(obj.arguments) == 0:
@@ -557,7 +574,7 @@ class Reactor(IReactor):
557
574
  # Validate that all items in the arguments list are CLIArgument instances
558
575
  for index, value in enumerate(obj.arguments):
559
576
  if not isinstance(value, CLIArgument):
560
- raise TypeError(f"Command class {obj.__name__} 'arguments' must contain only CLIArgument instances, found '{type(value).__name__}' at index {index}.")
577
+ raise CLIOrionisTypeError(f"Command class {obj.__name__} 'arguments' must contain only CLIArgument instances, found '{type(value).__name__}' at index {index}.")
561
578
 
562
579
  # Build the arguments dictionary from the CLIArgument instances
563
580
  required_args: List[CLIArgument] = obj.arguments
@@ -669,7 +686,7 @@ class Reactor(IReactor):
669
686
 
670
687
  Raises
671
688
  ------
672
- TypeError
689
+ CLIOrionisTypeError
673
690
  If the signature is not a string or if the handler is not a valid list.
674
691
  ValueError
675
692
  If the signature does not meet the required naming conventions.
@@ -680,11 +697,11 @@ class Reactor(IReactor):
680
697
 
681
698
  # Validate the handler parameter
682
699
  if len(handler) < 1 or not isinstance(handler, list):
683
- raise TypeError("Handler must be a list with at least one element (the callable).")
700
+ raise CLIOrionisValueError("Handler must be a list with at least one element (the callable).")
684
701
 
685
702
  # Ensure the first element is a class
686
703
  if not hasattr(handler[0], '__call__') or not hasattr(handler[0], '__name__'):
687
- raise TypeError("The first element of handler must be a class.")
704
+ raise CLIOrionisTypeError("The first element of handler must be a class.")
688
705
 
689
706
  # Create a new FluentCommand instance with the provided signature and handler
690
707
  f_command = FluentCommand(
@@ -1,11 +1,15 @@
1
- from .cli_exception import CLIOrionisException
2
- from .cli_runtime_error import CLIOrionisRuntimeError
3
- from .cli_schedule_exception import CLIOrionisScheduleException
4
- from .cli_orionis_value_error import CLIOrionisValueError
1
+ from .cli_exception import (
2
+ CLIOrionisException,
3
+ CLIOrionisRuntimeError,
4
+ CLIOrionisScheduleException,
5
+ CLIOrionisValueError,
6
+ CLIOrionisTypeError
7
+ )
5
8
 
6
9
  __all__ = [
7
10
  'CLIOrionisException',
8
11
  'CLIOrionisRuntimeError',
9
12
  'CLIOrionisScheduleException',
10
- 'CLIOrionisValueError'
13
+ 'CLIOrionisValueError',
14
+ 'CLIOrionisTypeError',
11
15
  ]
@@ -1,41 +1,118 @@
1
1
  class CLIOrionisException(Exception):
2
2
  """
3
- Custom exception raised when there is an issue with dumping the Orionis data.
3
+ Base exception for Orionis CLI errors.
4
+
5
+ This exception is raised for errors that are specific to the Orionis command-line interface (CLI)
6
+ operations. It serves as the base class for all CLI-related exceptions within the Orionis framework,
7
+ allowing for consistent error handling and identification of CLI-specific issues.
4
8
 
5
9
  Parameters
6
10
  ----------
7
- message : str
8
- The response message associated with the exception.
11
+ message : str, optional
12
+ An optional error message describing the exception.
13
+
14
+ Returns
15
+ -------
16
+ CLIOrionisException
17
+ An instance of the CLIOrionisException class.
18
+
19
+ Notes
20
+ -----
21
+ Subclass this exception to create more specific CLI-related exceptions as needed.
22
+ """
23
+ pass # No additional implementation; serves as a base exception class.
24
+
9
25
 
10
- Attributes
26
+ class CLIOrionisValueError(ValueError):
27
+ """
28
+ Exception for invalid CLI input values in Orionis.
29
+
30
+ Raised when a function receives an argument of the correct type but an inappropriate value
31
+ during CLI operations within the Orionis framework.
32
+
33
+ Parameters
11
34
  ----------
12
- message : str
13
- Stores the response message passed during initialization.
35
+ message : str, optional
36
+ An optional error message describing the value error.
14
37
 
15
- Methods
38
+ Returns
16
39
  -------
17
- __str__()
18
- Returns a string representation of the exception, including the response message.
19
- """
20
-
21
- def __init__(self, message: str):
22
- """
23
- Initializes the CLIOrionisException with the given response message.
24
-
25
- Parameters
26
- ----------
27
- message : str
28
- The response message associated with the exception.
29
- """
30
- super().__init__(message)
31
-
32
- def __str__(self):
33
- """
34
- Returns a string representation of the exception, including the response message.
35
-
36
- Returns
37
- -------
38
- str
39
- A string containing the exception name and the response message.
40
- """
41
- return f"CLIOrionisException: {self.args[0]}"
40
+ CLIOrionisValueError
41
+ An instance of the CLIOrionisValueError class.
42
+
43
+ Notes
44
+ -----
45
+ Use this exception to signal invalid or inappropriate values encountered during CLI operations.
46
+ """
47
+ pass # Inherits from ValueError to indicate value-related errors.
48
+
49
+
50
+ class CLIOrionisRuntimeError(RuntimeError):
51
+ """
52
+ Exception for runtime errors in Orionis CLI.
53
+
54
+ Raised when a runtime error occurs during the execution of CLI commands within the Orionis framework,
55
+ distinguishing these errors from other runtime errors.
56
+
57
+ Parameters
58
+ ----------
59
+ message : str, optional
60
+ An optional error message describing the runtime error.
61
+
62
+ Returns
63
+ -------
64
+ CLIOrionisRuntimeError
65
+ An instance of the CLIOrionisRuntimeError class.
66
+
67
+ Notes
68
+ -----
69
+ Use this exception to handle runtime errors specific to CLI contexts.
70
+ """
71
+ pass # Inherits from RuntimeError for CLI-specific runtime issues.
72
+
73
+
74
+ class CLIOrionisScheduleException(Exception):
75
+ """
76
+ Exception for scheduling errors in Orionis CLI.
77
+
78
+ Raised when issues are encountered during scheduling tasks within the Orionis command-line interface.
79
+
80
+ Parameters
81
+ ----------
82
+ message : str, optional
83
+ An optional error message describing the scheduling exception.
84
+
85
+ Returns
86
+ -------
87
+ CLIOrionisScheduleException
88
+ An instance of the CLIOrionisScheduleException class.
89
+
90
+ Notes
91
+ -----
92
+ Use this exception to signal errors related to scheduling operations in the CLI.
93
+ """
94
+ pass # Used for errors related to scheduling operations.
95
+
96
+
97
+ class CLIOrionisTypeError(TypeError):
98
+ """
99
+ Exception for invalid types in Orionis CLI.
100
+
101
+ Raised when an invalid type is encountered during command-line interface operations in the Orionis framework,
102
+ providing clearer context than the built-in TypeError.
103
+
104
+ Parameters
105
+ ----------
106
+ message : str, optional
107
+ An optional error message describing the type error.
108
+
109
+ Returns
110
+ -------
111
+ CLIOrionisTypeError
112
+ An instance of the CLIOrionisTypeError class.
113
+
114
+ Notes
115
+ -----
116
+ Use this exception to handle type-related errors specific to CLI operations.
117
+ """
118
+ pass # Inherits from TypeError for CLI-specific type errors.
@@ -1,6 +1,6 @@
1
1
  from typing import Any, List
2
2
  from orionis.console.contracts.cli_request import ICLIRequest
3
- from orionis.console.exceptions.cli_orionis_value_error import CLIOrionisValueError
3
+ from orionis.console.exceptions import CLIOrionisValueError
4
4
 
5
5
  class CLIRequest(ICLIRequest):
6
6
 
@@ -1,6 +1,6 @@
1
1
  from orionis.console.base.command import BaseCommand
2
2
  from orionis.console.args.argument import CLIArgument
3
- from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
3
+ from orionis.console.exceptions import CLIOrionisRuntimeError
4
4
 
5
5
  class {{class_name}}(BaseCommand):
6
6
  """
@@ -33,7 +33,7 @@ from orionis.console.entities.scheduler_started import SchedulerStarted
33
33
  from orionis.console.entities.event import Event as EventEntity
34
34
  from orionis.console.enums.listener import ListeningEvent
35
35
  from orionis.console.exceptions import CLIOrionisRuntimeError
36
- from orionis.console.exceptions.cli_orionis_value_error import CLIOrionisValueError
36
+ from orionis.console.exceptions import CLIOrionisValueError
37
37
  from orionis.console.request.cli_request import CLIRequest
38
38
  from orionis.failure.contracts.catch import ICatch
39
39
  from orionis.foundation.contracts.application import IApplication
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.568.0"
8
+ VERSION = "0.570.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.568.0
3
+ Version: 0.570.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
@@ -3,7 +3,7 @@ orionis/app.py,sha256=foCcJAfebeZD69wsAiNvPUx_7UMK6w8ow5WpVjzwDDk,1131
3
3
  orionis/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  orionis/console/kernel.py,sha256=-TRE9caKJ76fUfK7OxA4JgBBLw9wxlmRBC020_EeD84,3795
5
5
  orionis/console/args/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- orionis/console/args/argument.py,sha256=3Q_4p56qF0VPxK34xX3W4Ln2-Sua9rCHClGOeO96YcY,20355
6
+ orionis/console/args/argument.py,sha256=QkdTrIYfG6CqDEMVBlQvNzRVHlBAcJOinVjq5Lz-wl8,20331
7
7
  orionis/console/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  orionis/console/base/command.py,sha256=jdUPc7MoJs9QWo_WEPV0Mb_7f6G563OWFTh7DJeUfM8,6642
9
9
  orionis/console/base/scheduler.py,sha256=IKNhpI_lPbI8H3YruD9z7eNdjuqNYceaclx_Hr5BHfY,8065
@@ -33,7 +33,7 @@ orionis/console/contracts/reactor.py,sha256=iT6ShoCutAWEeJzOf_PK7CGXi9TgrOD5tewH
33
33
  orionis/console/contracts/schedule.py,sha256=N-AYUa1CJY7a4CV9L1EX_EUDtGlDJMg4y0aV9EDby1Q,16090
34
34
  orionis/console/contracts/schedule_event_listener.py,sha256=h06qsBxuEMD3KLSyu0JXdUDHlQW19BX9lA09Qrh2QXg,3818
35
35
  orionis/console/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
- orionis/console/core/reactor.py,sha256=57EFQAA4lFY2yrYAzQIiQSRBTV2rLYXLEFsB0C8dxj4,41798
36
+ orionis/console/core/reactor.py,sha256=40-gWJmSfJJXdIrQpbUaO9LdFHpjqQvz9UnL9DJXQDU,42758
37
37
  orionis/console/dumper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  orionis/console/dumper/debug.py,sha256=p8uflSXeDJDrVM9mZY4JMYEus73Z6TsLnQQtgP0QUak,22427
39
39
  orionis/console/dynamic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -52,11 +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=0qlHNuHMVZO87M-rP8lThUUyljRM1jSFNikaxSCjSbw,366
56
- orionis/console/exceptions/cli_exception.py,sha256=HsZ_vSeNiJWQ0gznVFNcIdhM0Bj_vkSRVBJs0wMjEKY,1141
57
- orionis/console/exceptions/cli_orionis_value_error.py,sha256=RQP0HRwxDG8hxFOT1kUoZ1Ab1CZ1KLoSIl5yqlmgG4M,1147
58
- orionis/console/exceptions/cli_runtime_error.py,sha256=DaCDGu6mXBk1LIzc7cwRROw1mePAigPNASjNZHhUSBE,1154
59
- orionis/console/exceptions/cli_schedule_exception.py,sha256=IBbXb_5zi02pyo1laHdjGn6FYZK7WWRp4j2fkZOCT6I,1161
55
+ orionis/console/exceptions/__init__.py,sha256=IwFMI6PKPPam8pNLGgt638LhopoQlWx-bM1hpO5HEvg,342
56
+ orionis/console/exceptions/cli_exception.py,sha256=nk3EGkRheDbw8vrxKgUxkAAPA6gPpO2dE5nDeVHJHA0,3580
60
57
  orionis/console/fluent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
58
  orionis/console/fluent/command.py,sha256=ayEh2fH83pCITyYUXHvt2jEgjMU63zdgRRYVdvUgFvk,8195
62
59
  orionis/console/fluent/event.py,sha256=kEynb0mQDyEiTiEnctoJoPizFfe0TkySOsMaECob3UY,166495
@@ -64,11 +61,11 @@ orionis/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
64
61
  orionis/console/output/console.py,sha256=EtSDWRBW8wk0iJdPfB1mzU49krLJBaSAUdVdVOzzhQ4,17888
65
62
  orionis/console/output/executor.py,sha256=uQjFPOlyZLFj9pcyYPugCqxwJog0AJgK1OcmQH2ELbw,7314
66
63
  orionis/console/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
- orionis/console/request/cli_request.py,sha256=zFuoFzLVDCcSNcJZAuLAlsc9jfhck5o23qaKc2C0QAg,13231
68
- orionis/console/stub/command.stub,sha256=ATmJunhcRMGWkEKcwhJlnuAAzyGDMo9XGiPPp6xxwTQ,1258
64
+ orionis/console/request/cli_request.py,sha256=lO7088xlVK1VP-NhCIgAo7qXGzCW3nXVOJag43fUv20,13207
65
+ orionis/console/stub/command.stub,sha256=IfQ0bTrpataVFcT1ZdHyyiYNZ67D5Aox_QvgVJLeJnI,1240
69
66
  orionis/console/stub/listener.stub,sha256=DbX-ghx2-vb73kzQ6L20lyg5vSKn58jSLTwFuwNQU9k,4331
70
67
  orionis/console/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
- orionis/console/tasks/schedule.py,sha256=qFnzoLyK69iaKEWMfEVxLs3S9aWVRzD4G6emTFhJMaY,83386
68
+ orionis/console/tasks/schedule.py,sha256=r0m_AESx18ahcQyuJvdhKkjmXOMIpkRYWC8eFNWNDoU,83362
72
69
  orionis/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
70
  orionis/container/container.py,sha256=9beW1IQzgZkgVIMo0ePBAkTz7bnNz3GNZZDRogMp8AI,96902
74
71
  orionis/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -227,7 +224,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
227
224
  orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
228
225
  orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
229
226
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
230
- orionis/metadata/framework.py,sha256=gmjxLsSQEGcDJIW7OHiWBI0Pr24R51WDOlKH3HzpvT8,4109
227
+ orionis/metadata/framework.py,sha256=PvBzxcYMkCAgFIWhiKDnsnUqZ-HyxW29e8XWP5A8J-g,4109
231
228
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
232
229
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
233
230
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -420,8 +417,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
420
417
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
421
418
  orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
422
419
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
423
- orionis-0.568.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
424
- orionis-0.568.0.dist-info/METADATA,sha256=is4MlNnAm9fp31xL56hKtmG-XSoHD3zs4w0MkFAdXq0,4801
425
- orionis-0.568.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
426
- orionis-0.568.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
427
- orionis-0.568.0.dist-info/RECORD,,
420
+ orionis-0.570.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
421
+ orionis-0.570.0.dist-info/METADATA,sha256=Aub2KA8pRRjibn16Glp4KTRb_osC81120vYIG996MUg,4801
422
+ orionis-0.570.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
423
+ orionis-0.570.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
424
+ orionis-0.570.0.dist-info/RECORD,,
@@ -1,41 +0,0 @@
1
- class CLIOrionisValueError(ValueError):
2
- """
3
- Custom exception raised when there is a value error in Orionis data processing.
4
-
5
- Parameters
6
- ----------
7
- message : str
8
- The response message associated with the exception.
9
-
10
- Attributes
11
- ----------
12
- message : str
13
- Stores the response message passed during initialization.
14
-
15
- Methods
16
- -------
17
- __str__()
18
- Returns a string representation of the exception, including the response message.
19
- """
20
-
21
- def __init__(self, message: str):
22
- """
23
- Initializes the CLIOrionisValueError with the given response message.
24
-
25
- Parameters
26
- ----------
27
- message : str
28
- The response message associated with the exception.
29
- """
30
- super().__init__(message)
31
-
32
- def __str__(self):
33
- """
34
- Returns a string representation of the exception, including the response message.
35
-
36
- Returns
37
- -------
38
- str
39
- A string containing the exception name and the response message.
40
- """
41
- return f"CLIOrionisValueError: {self.args[0]}"
@@ -1,41 +0,0 @@
1
- class CLIOrionisRuntimeError(RuntimeError):
2
- """
3
- Custom exception raised when there is a runtime issue with Orionis processing.
4
-
5
- Parameters
6
- ----------
7
- message : str
8
- The response message associated with the exception.
9
-
10
- Attributes
11
- ----------
12
- message : str
13
- Stores the response message passed during initialization.
14
-
15
- Methods
16
- -------
17
- __str__()
18
- Returns a string representation of the exception, including the response message.
19
- """
20
-
21
- def __init__(self, message: str):
22
- """
23
- Initializes the CLIOrionisRuntimeError with the given response message.
24
-
25
- Parameters
26
- ----------
27
- message : str
28
- The response message associated with the exception.
29
- """
30
- super().__init__(message)
31
-
32
- def __str__(self):
33
- """
34
- Returns a string representation of the exception, including the response message.
35
-
36
- Returns
37
- -------
38
- str
39
- A string containing the exception name and the response message.
40
- """
41
- return f"CLIOrionisRuntimeError: {self.args[0]}"
@@ -1,41 +0,0 @@
1
- class CLIOrionisScheduleException(Exception):
2
- """
3
- Custom exception raised when there is an issue with the Orionis schedule.
4
-
5
- Parameters
6
- ----------
7
- message : str
8
- The response message associated with the exception.
9
-
10
- Attributes
11
- ----------
12
- message : str
13
- Stores the response message passed during initialization.
14
-
15
- Methods
16
- -------
17
- __str__()
18
- Returns a string representation of the exception, including the response message.
19
- """
20
-
21
- def __init__(self, message: str):
22
- """
23
- Initializes the CLIOrionisScheduleException with the given response message.
24
-
25
- Parameters
26
- ----------
27
- message : str
28
- The response message associated with the exception.
29
- """
30
- super().__init__(message)
31
-
32
- def __str__(self):
33
- """
34
- Returns a string representation of the exception, including the response message.
35
-
36
- Returns
37
- -------
38
- str
39
- A string containing the exception name and the response message.
40
- """
41
- return f"CLIOrionisScheduleException: {self.args[0]}"