fix: keep the backward compatability for type hint (#1052)

master v0.24.1
MinJae Kwon (Miti) 1 week ago committed by GitHub
parent dd32ab4087
commit c2c24c69b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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