Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ods authored Nov 16, 2024
1 parent 5797fb8 commit db572e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aiokafka/structs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from __future__ import annotations

from collections.abc import Sequence
from dataclasses import dataclass
from typing import Generic, NamedTuple, Optional, TypeVar
Expand Down Expand Up @@ -28,7 +29,8 @@ class TopicPartition(NamedTuple):
class BrokerMetadata(NamedTuple):
"""A Kafka broker metadata used by admin tools"""

nodeId: int | str # FIXME consider updating implementation (https://github.com/aio-libs/aiokafka/issues/1050)
# FIXME: consider updating implementation (https://github.com/aio-libs/aiokafka/issues/1050)
nodeId: int | str
"The Kafka broker id"

host: str
Expand Down

0 comments on commit db572e3

Please sign in to comment.