-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoids DeprecationWarnings. Drop falling back to ert_shared, which is no longer around.
- Loading branch information
Showing
4 changed files
with
9 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
from __future__ import annotations | ||
|
||
try: | ||
from ert.shared.plugins.plugin_manager import hook_implementation | ||
from ert.shared.plugins.plugin_response import plugin_response | ||
except ModuleNotFoundError: | ||
from ert_shared.plugins.plugin_manager import hook_implementation | ||
from ert_shared.plugins.plugin_response import plugin_response | ||
from ert import plugin | ||
from ert.plugins.plugin_manager import hook_implementation | ||
|
||
|
||
@hook_implementation | ||
@plugin_response(plugin_name="fmu_dataio") | ||
@plugin(name="fmu_dataio") | ||
def installable_workflow_jobs() -> dict: | ||
return {} |
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