Simplify type annotation

See #8269
This commit is contained in:
Florian Bruhin 2024-08-13 11:58:50 +02:00
parent afe3e4aef5
commit ba210f52f1
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ def _init_formatters(
force_color: bool,
json_logging: bool,
) -> Tuple[
Union['JSONFormatter', Optional['ColoredFormatter']],
Union['JSONFormatter', 'ColoredFormatter', None],
'ColoredFormatter',
'HTMLFormatter',
bool,