Skip to content

Commit

Permalink
This should fix an issue in powercloud2lynqtech mapping (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
lord-haffi authored May 30, 2023
1 parent 679affe commit a3a42af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bomf/validation/core/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ async def _are_params_ok(
)
return False
try:
self.info.current_provided_params = params_or_exc
for param_name, param in params_or_exc.items():
check_type(
param.param_id,
Expand Down Expand Up @@ -245,7 +246,6 @@ async def _execute_async_validator(
if not await self._are_params_ok(mapped_validator, params_or_exc):
continue
assert isinstance(params_or_exc, Parameters)
self.info.running_tasks[self.info.tasks[mapped_validator]].current_provided_params = params_or_exc

async with self.info.error_handler.pokemon_catcher(mapped_validator, self):
if self.validators[mapped_validator].timeout is not None:
Expand Down Expand Up @@ -279,7 +279,6 @@ async def _execute_sync_validator(self, mapped_validator: MappedValidator[DataSe
if not await self._are_params_ok(mapped_validator, params_or_exc):
continue
assert isinstance(params_or_exc, Parameters)
self.info.current_provided_params = params_or_exc

async with self.info.error_handler.pokemon_catcher(mapped_validator, self):
if execution_info.timeout is not None:
Expand Down

0 comments on commit a3a42af

Please sign in to comment.