mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
event_queue: Fix deque values type annotation.
Event IDs in here are ints, as shown by the prune operation.
This commit is contained in:
@@ -216,9 +216,9 @@ def compute_full_event_type(event):
|
|||||||
|
|
||||||
class EventQueue(object):
|
class EventQueue(object):
|
||||||
def __init__(self, id):
|
def __init__(self, id):
|
||||||
# type: (Any) -> None
|
# type: (str) -> None
|
||||||
self.queue = deque() # type: deque[Dict[str, str]]
|
self.queue = deque() # type: deque[Dict[str, Any]]
|
||||||
self.next_event_id = 0
|
self.next_event_id = 0 # type: int
|
||||||
self.id = id
|
self.id = id
|
||||||
self.virtual_events = {} # type: Dict[str, Dict[str, str]]
|
self.virtual_events = {} # type: Dict[str, Dict[str, str]]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user