Skip to content

Commit 33fefb8

Browse files
committed
Add missing import
1 parent ccf0037 commit 33fefb8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/hdx/facades/infer_arguments.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from collections.abc import Callable
66
from inspect import getdoc
77
from pathlib import Path
8-
from typing import Any
8+
from typing import Any, Optional # noqa: F401
99

1010
import defopt
1111
from hdx.utilities.easy_logging import setup_logging
@@ -71,9 +71,6 @@ def facade(projectmainfn: Callable[[Any], None], **kwargs: Any):
7171
case "str" | "Path" | "Path | str":
7272
param_type = "str | None"
7373
default = None
74-
case "Optional[bool]" | "bool | None":
75-
param_type = "bool | None"
76-
default = None
7774
case "bool":
7875
default = False
7976
case _:

0 commit comments

Comments
 (0)