fix: keep the backward compatability for type hint

pull/1052/head
mingrammer 11 months ago
parent dd32ab4087
commit 6a1c871f7f

@ -82,7 +82,7 @@ class Diagram:
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,

Loading…
Cancel
Save