Skip to content

Commit

Permalink
Add missing Optionals (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks authored Jun 6, 2023
1 parent 7443949 commit aeb0953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ecl2df/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ def df2ecl(
def generic_ecltable(
dframe: pd.DataFrame,
keyword: str,
comment: str = None,
renamer: Dict[str, str] = None,
comment: Optional[str] = None,
renamer: Optional[Dict[str, str]] = None,
drop_trailing_columns: bool = True,
) -> str:
"""Construct a typical Eclipse table for data following
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
REQUIREMENTS = [
"ecl",
"numpy",
"opm>=2020.10.2", # NB: Pypi versions.
"pandas",
"opm>=2020.10.2,<=2022.4", # NB: Pypi versions.
"pandas<2.0",
"pyarrow",
"pyyaml>=5.1",
"treelib",
Expand Down

0 comments on commit aeb0953

Please sign in to comment.