Skip to content

Commit

Permalink
FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgene committed Nov 3, 2024
1 parent e9697cc commit 867069f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aiokafka/structs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations
from collections.abc import Sequence
from dataclasses import dataclass
from typing import Generic, List, NamedTuple, Optional, Sequence, Tuple, TypeVar, Union
from typing import Generic, NamedTuple, Optional, Sequence, TypeVar

from aiokafka.errors import KafkaError

Expand All @@ -27,7 +28,7 @@ class TopicPartition(NamedTuple):
class BrokerMetadata(NamedTuple):
"""A Kafka broker metadata used by admin tools"""

nodeId: Union[int, str]
nodeId: int | str # FIXME consider updating implementation
"The Kafka broker id"

host: str
Expand Down

0 comments on commit 867069f

Please sign in to comment.