Skip to content

Fix sim context tests by using the correct queue API #21644

Fix sim context tests by using the correct queue API

Fix sim context tests by using the correct queue API #21644

Triggered via pull request November 22, 2023 07:52
Status Failure
Total duration 2m 57s
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/simulator/simulation_context.py#L71
"JobQueue" has no attribute "stop_long_running_jobs"; maybe "stop_long_running_realizations"?
type-checking (3.11): src/ert/simulator/simulation_context.py#L76
Argument "evaluators" to "execute" of "JobQueue" has incompatible type "list[partial[Any]] | None"; expected "list[Callable[..., Any]] | None"
type-checking (3.11): src/ert/simulator/simulation_context.py#L159
"type[RealizationState]" has no attribute "SUCCESS"
type-checking (3.11): src/ert/simulator/simulation_context.py#L173
"type[RealizationState]" has no attribute "SUCCESS"
type-checking (3.11): src/ert/simulator/simulation_context.py#L173
"type[RealizationState]" has no attribute "WAITING"
type-checking (3.11): src/ert/simulator/simulation_context.py#L185
"type[RealizationState]" has no attribute "RUNNING"
type-checking (3.11): src/ert/simulator/simulation_context.py#L186
"type[RealizationState]" has no attribute "SUCCESS"
type-checking (3.11): src/ert/simulator/simulation_context.py#L187
"type[RealizationState]" has no attribute "FAILED"
type-checking (3.11): src/ert/simulator/simulation_context.py#L188
"type[RealizationState]" has no attribute "WAITING"
type-checking (3.11): src/ert/simulator/simulation_context.py#L229
"type[RealizationState]" has no attribute "WAITING"