Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wbarnha committed Mar 19, 2024
1 parent 52c0d20 commit 984c996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/coordinator/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def _on_join_leader(self, response):

group_assignment = [
(member_id, assignment if isinstance(assignment, bytes) else assignment.encode())
for member_id, assignment in group_assignment.items()
for member_id, assignment in iteritems(group_assignment)
]

if self.config['api_version'] >= (2, 3, 0) and self.config['group_instance_id']:
Expand Down

0 comments on commit 984c996

Please sign in to comment.