Browse Source

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

979-is-there-a-node-for-kubernetes-itself
MinJae Kwon (Miti) 2 weeks ago
committed by tessier
parent
commit
ab50bff455
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