Skip to content

Commit

Permalink
fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Taybin Rutkin committed Jul 6, 2021
1 parent ed06ecc commit e80829c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion faust/transport/drivers/aiokafka.py
Expand Up @@ -723,7 +723,9 @@ def verify_event_path(self, now: float, tp: TP) -> None:

if monitor is not None: # need for .stream_inbound_time
aiotp = TopicPartition(tp.topic, tp.partition)
tp_state = self._ensure_consumer()._fetcher._subscriptions.subscription.assignment.state_value(aiotp)
tp_state = self._ensure_consumer()._fetcher._subscriptions.subscription.assignment.state_value(
aiotp
)
highwater = tp_state.highwater
committed_offset = tp_state.position
has_acks = acks_enabled_for(tp.topic)
Expand Down

0 comments on commit e80829c

Please sign in to comment.