-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Pass more workflow fixtures explicitly
- Loading branch information
Showing
15 changed files
with
148 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
from __future__ import annotations | ||
|
||
from enum import StrEnum | ||
|
||
|
||
class WorkflowFixtures(StrEnum): | ||
ensemble = "ensemble" | ||
storage = "storage" | ||
random_seed = "random_seed" | ||
reports_dir = "reports_dir" | ||
observation_settings = "observation_settings" | ||
es_settings = "es_settings" | ||
run_paths = "run_paths" | ||
workflow_args = "workflow_args" | ||
from typing import TYPE_CHECKING, Any | ||
|
||
from typing_extensions import TypedDict | ||
|
||
if TYPE_CHECKING: | ||
from ert.config import ESSettings, UpdateSettings | ||
from ert.runpaths import Runpaths | ||
from ert.storage import Ensemble, Storage | ||
|
||
|
||
class WorkflowFixtures(TypedDict, total=False): | ||
ensemble: Ensemble | ||
storage: Storage | ||
random_seed: int | None | ||
reports_dir: str | ||
observation_settings: UpdateSettings | ||
es_settings: ESSettings | ||
run_paths: Runpaths | ||
workflow_args: list[Any] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.