We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc805e1 commit 856b617Copy full SHA for 856b617
1 file changed
faststream_concurrent_aiokafka/healthcheck.py
@@ -10,6 +10,5 @@
10
11
12
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)
+ handler: KafkaConcurrentHandler | None = context.get(_PROCESSING_CONTEXT_KEY)
15
return handler is not None and handler.is_healthy
0 commit comments