Skip to content

Commit e158bee

Browse files
author
Mathieu Scheltienne
committed
fix type-hint
1 parent acde782 commit e158bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/utils/logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def add_file_handler(
6767

6868

6969
@fill_doc
70-
def set_log_level(verbose: Union[bool, str, int, None]) -> None:
70+
def set_log_level(verbose: Optional[Union[bool, str, int]]) -> None:
7171
"""Set the log level for the logger and the first handler ``sys.stdout``.
7272
7373
Parameters

0 commit comments

Comments
 (0)