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 and gabriel-tessier committed Nov 20, 2024
1 parent b53a7fb commit ab50bff
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 ab50bff

Please sign in to comment.