Skip to content

Commit

Permalink
fix: keep the backward compatability for type hint (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
mingrammer authored Nov 7, 2024
1 parent dd32ab4 commit c2c24c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diagrams/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(
filename: str = "",
direction: str = "LR",
curvestyle: str = "ortho",
outformat: str | list[str] = "png",
outformat: Union[str, list[str]] = "png",
autolabel: bool = False,
show: bool = True,
strict: bool = False,
Expand Down

0 comments on commit c2c24c6

Please sign in to comment.