@@ -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