def partitions_for_topic(self, topic):
        return self._client.cluster.partitions_for_topic(topic)
Translate HTTP status code to exit status code.
dataset/ETHPy150Open dpkp/kafka-python/kafka/consumer/group.py/KafkaConsumer.partitions_for_topic--crossover with--dataset/ETHPy150Open jkbrzt/httpie/httpie/core.py/get_exit_status