Browse Source

fix: keep the backward compatability for type hint

pull/1052/head
mingrammer 2 weeks ago
parent
commit
6a1c871f7f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      diagrams/__init__.py

+ 1
- 1
diagrams/__init__.py View File

@@ -82,7 +82,7 @@ class Diagram:
filename: str = "", filename: str = "",
direction: str = "LR", direction: str = "LR",
curvestyle: str = "ortho", curvestyle: str = "ortho",
outformat: str | list[str] = "png",
outformat: Union[str, list[str]] = "png",
autolabel: bool = False, autolabel: bool = False,
show: bool = True, show: bool = True,
strict: bool = False, strict: bool = False,


Loading…
Cancel
Save