Skip to content

Commit 9f08bd5

Browse files
njhillliuzijing2014
authored andcommitted
Fix typing
Signed-off-by: Nick Hill <[email protected]> Signed-off-by: Zijing Liu <[email protected]>
1 parent 5267d19 commit 9f08bd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/v1/metrics/loggers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,11 @@ def setup_default_loggers(
487487
if not log_stats:
488488
return []
489489

490+
factories: list[StatLoggerFactory]
490491
if custom_stat_loggers is not None:
491492
factories = custom_stat_loggers
492493
else:
493-
factories: list[StatLoggerFactory] = [PrometheusStatLogger]
494+
factories = [PrometheusStatLogger]
494495
if logger.isEnabledFor(logging.INFO):
495496
factories.append(LoggingStatLogger)
496497

0 commit comments

Comments
 (0)