Skip to content

Commit

Permalink
Type: ignore when calling queue.execute
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Nov 24, 2023
1 parent 00faf37 commit e6a91f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/ensemble_evaluator/_builder/_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async def _evaluate_inner( # pylint: disable=too-many-branches

result: str = await self._job_queue.execute(
queue_evaluators,

Check failure on line 210 in src/ert/ensemble_evaluator/_builder/_legacy.py

View workflow job for this annotation

GitHub Actions / type-checking (3.11)

Argument 1 to "execute" of "JobQueue" has incompatible type "list[partial[None]] | None"; expected "list[Callable[..., Any]] | None"
)
) # type: ignore

Check failure on line 211 in src/ert/ensemble_evaluator/_builder/_legacy.py

View workflow job for this annotation

GitHub Actions / type-checking (3.11)

Unused "type: ignore" comment
print(result)
except Exception as exc:
print(exc)
Expand Down

0 comments on commit e6a91f9

Please sign in to comment.