Skip to content

Create async version of EnsembleEvaluator #22931

Create async version of EnsembleEvaluator

Create async version of EnsembleEvaluator #22931

Triggered via pull request January 22, 2024 15:31
@xjulesxjules
synchronize #6977
ee_async
Status Failure
Total duration 3m 13s
Artifacts

typing.yml

on: pull_request
Matrix: type-checking
Fit to window
Zoom out
Zoom in

Annotations

10 errors
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L51
Incompatible types in assignment (expression has type overloaded function, variable has type "Callable[[object, VarArg(object), DefaultNamedArg(bool | tuple[type[BaseException], BaseException, TracebackType | None] | tuple[None, None, None] | BaseException | None, 'exc_info'), DefaultNamedArg(bool, 'stack_info'), DefaultNamedArg(int, 'stacklevel'), DefaultNamedArg(Mapping[str, object] | None, 'extra')], None]")
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L78
Missing type parameters for generic type "Task"
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L79
Missing type parameters for generic type "Task"
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L80
Missing type parameters for generic type "Task"
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L82
Function is missing a return type annotation
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L88
Function is missing a type annotation
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L99
Call to untyped function "set_handler" in typed context
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L360
Item "None" of "Task[Any] | None" has no attribute "cancel"
type-checking (3.11): src/ert/ensemble_evaluator/evaluator_async.py#L361
Incompatible types in "await" (actual type "Task[Any] | None", expected type "Awaitable[Any]")