Skip to content

Commit 856b617

Browse files
committed
fix
1 parent bc805e1 commit 856b617

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

faststream_concurrent_aiokafka/healthcheck.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010

1111

1212
def is_kafka_handler_healthy(context: ContextRepo) -> bool:
13-
"""Return True if the KafkaConcurrentHandler stored in *context* is healthy."""
14-
handler: typing.Final[KafkaConcurrentHandler | None] = context.get(_PROCESSING_CONTEXT_KEY)
13+
handler: KafkaConcurrentHandler | None = context.get(_PROCESSING_CONTEXT_KEY)
1514
return handler is not None and handler.is_healthy

0 commit comments

Comments
 (0)