Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu committed Oct 18, 2024
1 parent 37635c2 commit b5a0f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion querybook/server/lib/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def get_default_args(func):
}


def str_to_bool(value: Optional[str | bool]) -> bool:
def str_to_bool(value: Optional[Union[str, bool]]) -> bool:
if value is None:
return False
if isinstance(value, bool):
Expand Down

0 comments on commit b5a0f62

Please sign in to comment.