Skip to content

Commit

Permalink
Fix List type hint for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Sep 24, 2024
1 parent 8feb8b2 commit 1c39776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix/util/sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def map_for_sankey(
iam_df: IamDataFrame,
year: int,
region: str,
exclude: list[Optional[str]] = [],
exclude: List[Optional[str]] = [],
) -> dict[str, Tuple[Union[List, Any, LiteralString], Union[List, Any, LiteralString]]]:
"""Maps input to output flows to enable Sankey plots.
Expand Down

0 comments on commit 1c39776

Please sign in to comment.