Skip to content

Commit 77c4965

Browse files
committed
add warning to stub and c files; admin typing more
1 parent 0653fe0 commit 77c4965

File tree

12 files changed

+28
-375
lines changed

12 files changed

+28
-375
lines changed

CONTRIBUTOR.md

Lines changed: 0 additions & 219 deletions
This file was deleted.

INSTALL.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

src/confluent_kafka/_model/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ConsumerGroupState(Enum):
9191
#: Consumer Group is empty.
9292
EMPTY = cimpl.CONSUMER_GROUP_STATE_EMPTY
9393

94-
def __lt__(self, other: 'ConsumerGroupState') -> Any:
94+
def __lt__(self, other) -> Any:
9595
if self.__class__ != other.__class__:
9696
return NotImplemented
9797
return self.value < other.value
@@ -111,7 +111,7 @@ class ConsumerGroupType(Enum):
111111
#: Classic Type
112112
CLASSIC = cimpl.CONSUMER_GROUP_TYPE_CLASSIC
113113

114-
def __lt__(self, other: 'ConsumerGroupType') -> Any:
114+
def __lt__(self, other) -> Any:
115115
if self.__class__ != other.__class__:
116116
return NotImplemented
117117
return self.value < other.value
@@ -167,7 +167,7 @@ class IsolationLevel(Enum):
167167
READ_UNCOMMITTED = cimpl.ISOLATION_LEVEL_READ_UNCOMMITTED #: Receive all the offsets.
168168
READ_COMMITTED = cimpl.ISOLATION_LEVEL_READ_COMMITTED #: Skip offsets belonging to an aborted transaction.
169169

170-
def __lt__(self, other: 'IsolationLevel') -> Any:
170+
def __lt__(self, other) -> Any:
171171
if self.__class__ != other.__class__:
172172
return NotImplemented
173173
return self.value < other.value
@@ -186,7 +186,7 @@ class ElectionType(Enum):
186186
#: Unclean election
187187
UNCLEAN = cimpl.ELECTION_TYPE_UNCLEAN
188188

189-
def __lt__(self, other: 'ElectionType') -> Any:
189+
def __lt__(self, other) -> Any:
190190
if self.__class__ != other.__class__:
191191
return NotImplemented
192192
return self.value < other.value

0 commit comments

Comments
 (0)