This adds type annotations to all of kafka_utils.util and some of kafka_utils.kafka_consumer_manager.commands. I started on the latter module before we realized that kafka_utils.util was the only module that was meaningfully used.
There's probably more room for better TypedDicts in here (especially in kafka_utils/util/zookeeper.py), but I think this is good enough for now.
This adds type annotations to all of
kafka_utils.util
and some ofkafka_utils.kafka_consumer_manager.commands
. I started on the latter module before we realized thatkafka_utils.util
was the only module that was meaningfully used.There's probably more room for better TypedDicts in here (especially in
kafka_utils/util/zookeeper.py
), but I think this is good enough for now.