diff --git a/aiokafka/structs.py b/aiokafka/structs.py index 8e968b4b..3db1d20a 100644 --- a/aiokafka/structs.py +++ b/aiokafka/structs.py @@ -117,8 +117,8 @@ class RecordMetadata(NamedTuple): "" -KT = TypeVar("KT", covariant=True) -VT = TypeVar("VT", covariant=True) +KT = TypeVar("KT") +VT = TypeVar("VT") @dataclass