Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
hfjn committed Apr 15, 2021
1 parent 3958177 commit 107251a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion esque/controller/topic_controller.py
Expand Up @@ -131,7 +131,9 @@ def update_from_cluster(
) -> Topic:
"""Takes a topic and, based on its name, updates all attributes from the cluster"""

topic.partition_data = self._get_partitions(topic, retrieve_last_timestamp, get_partition_data=retrieve_partition_data)
topic.partition_data = self._get_partitions(
topic, retrieve_last_timestamp, get_partition_data=retrieve_partition_data
)
topic.config = self.cluster.retrieve_config(ConfigResource.Type.TOPIC, topic.name)

topic.is_only_local = False
Expand Down

0 comments on commit 107251a

Please sign in to comment.