Skip to content

Commit

Permalink
Don't import from top-level ert module
Browse files Browse the repository at this point in the history
This is to speed up importing selected submodules of `ert`.
  • Loading branch information
pinkwah committed Feb 13, 2024
1 parent ea61a21 commit 37f6f67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/subscript/csv_merge/csv_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import Dict, List, Optional

import pandas as pd
from ert import ErtScript
from ert.config import ErtScript
from ert.shared.plugins.plugin_manager import hook_implementation # type: ignore

from subscript import __version__, getLogger
Expand Down
2 changes: 1 addition & 1 deletion src/subscript/csv_stack/csv_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import Pattern

import pandas as pd
from ert import ErtScript
from ert.config import ErtScript
from ert.shared.plugins.plugin_manager import hook_implementation # type: ignore

from subscript import __version__, getLogger
Expand Down
2 changes: 1 addition & 1 deletion src/subscript/fmuobs/fmuobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import pandas as pd
import yaml
from ert import ErtScript
from ert.config import ErtScript
from ert.shared.plugins.plugin_manager import hook_implementation # type: ignore

from subscript import __version__, getLogger
Expand Down
2 changes: 1 addition & 1 deletion src/subscript/params2csv/params2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from glob import glob

import pandas as pd
from ert import ErtScript
from ert.config import ErtScript
from ert.shared.plugins.plugin_manager import hook_implementation # type: ignore

from subscript import __version__, getLogger
Expand Down

0 comments on commit 37f6f67

Please sign in to comment.