orionis 0.96.0__py3-none-any.whl → 0.101.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.96.0"
8
+ VERSION = "0.101.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -7,7 +7,7 @@ class ScheduleServiceProvider(ServiceProvider):
7
7
  """
8
8
  Registers services or bindings into the given container.
9
9
  """
10
- self._container_id = self.app.bind(ScheduleService)
10
+ self._container_id = self.app.scoped(ScheduleService)
11
11
 
12
12
  def boot(self,) -> None:
13
13
  """
@@ -119,7 +119,9 @@ class ReactorCommandsService(IReactorCommandsService):
119
119
  self.console_executor.running(program=signature)
120
120
 
121
121
  # Retrieve command from bootstrapper
122
- command = self.commands_bootstrapper.get(signature)
122
+ command = self.commands_bootstrapper.get(signature, None)
123
+ if not command:
124
+ raise CLIOrionisException(f"Command not found: {signature}")
123
125
 
124
126
  # Parse command arguments dynamically based on execution context
125
127
  args_dict = self._parse_arguments(command.get('arguments', []), vars, *args, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.96.0
3
+ Version: 0.101.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=0bM-hABXJSoPGuvEgnqeaj9qcLP8VjTQ3z9Mb0TSEUI,1381
3
- orionis/framework.py,sha256=4g1oxphTP7B7BbGFvJ_oxiZFGfUuSQCcR9SfjTrNnoA,1386
3
+ orionis/framework.py,sha256=20_k6rWieiIoi4jPNxgq8bmVIGOt87Q9yPqnjEin6Qk,1387
4
4
  orionis/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  orionis/contracts/bootstrap/i_command_bootstrapper.py,sha256=cfpYWSlNhOY1q_C9o0H7F381OoM0Oh0qaeqP-c85nzk,2457
6
6
  orionis/contracts/bootstrap/i_config_bootstrapper.py,sha256=d2TXT74H2fCBbzWgrt9-ZG11S_H_YPQOEcJoIOrsgb0,4462
@@ -122,7 +122,7 @@ orionis/luminate/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
122
122
  orionis/luminate/providers/service_provider.py,sha256=Ave9V10KPVCI6bt3HwJ51322P-_RnQuHXkC-ltlAOOA,1537
123
123
  orionis/luminate/providers/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
124
124
  orionis/luminate/providers/commands/reactor_commands_service_provider.py,sha256=3HX3wwPCH_Y9OsoTyfC4_LrNlPW_-UaffDcz3Wehuvk,701
125
- orionis/luminate/providers/commands/scheduler_provider.py,sha256=v5CQybodiAilsU9oa5cBKYwzb3PGAX_l-h4X9KZH35w,668
125
+ orionis/luminate/providers/commands/scheduler_provider.py,sha256=owOzdGIZmkeTFJQ3yyG8Hk2Kb8l-jXmaJHAo7v3_uAk,670
126
126
  orionis/luminate/providers/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
127
  orionis/luminate/providers/config/config_service_provider.py,sha256=NLKB3Vcu4kqZ0WyeImMG3CsclSu_P4aWs6yXitcv474,659
128
128
  orionis/luminate/providers/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -131,7 +131,7 @@ orionis/luminate/providers/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
131
131
  orionis/luminate/providers/log/log_service_provider.py,sha256=tcWDEI-fubi1mWSS-IKiRReuc0pRMHpxvbvuDgs2Uy0,654
132
132
  orionis/luminate/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
133
133
  orionis/luminate/services/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
134
- orionis/luminate/services/commands/reactor_commands_service.py,sha256=2kydqQak61enzzoBxQOghWSco1hv2ZFwANJf7d_p9zQ,6441
134
+ orionis/luminate/services/commands/reactor_commands_service.py,sha256=JIRmmADbERi4Zf0daWnHgGwGkjmP7_WTlVsrfTdQLck,6554
135
135
  orionis/luminate/services/commands/scheduler_service.py,sha256=JB0f-yOyb7Uz6NLVM4QH2q9_wC-81Mhek-OSKpfOS0o,22577
136
136
  orionis/luminate/services/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
137
  orionis/luminate/services/config/config_service.py,sha256=sVqX3UBxZA5whjiVFgfo5fzAb8QxD0NT0OYYlgZUK0g,2223
@@ -161,9 +161,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
161
  tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
162
162
  tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
163
163
  tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
164
- orionis-0.96.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
165
- orionis-0.96.0.dist-info/METADATA,sha256=LlnddNxOhueeIxuE57-15VZZk_7x2TlSWmiHIHoQrRA,2978
166
- orionis-0.96.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
167
- orionis-0.96.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
168
- orionis-0.96.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
169
- orionis-0.96.0.dist-info/RECORD,,
164
+ orionis-0.101.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
165
+ orionis-0.101.0.dist-info/METADATA,sha256=R0IU2OVJjIchRJf8wxj1TD4B2VqyAqmYuE1VAIjpbrk,2979
166
+ orionis-0.101.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
167
+ orionis-0.101.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
168
+ orionis-0.101.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
169
+ orionis-0.101.0.dist-info/RECORD,,