forked from p15670423/monkey
Agent: Add type annotation for `send_all_events_to_island._batch_and_send_events_thread._event_batch`
This commit is contained in:
parent
8f4aefda74
commit
1abf323b14
|
@ -1,6 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
import queue
|
import queue
|
||||||
import threading
|
import threading
|
||||||
|
from typing import Set
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
@ -43,7 +44,7 @@ class send_all_events_to_island:
|
||||||
self._server_address = server_address
|
self._server_address = server_address
|
||||||
self._time_period = time_period
|
self._time_period = time_period
|
||||||
|
|
||||||
self._event_batch = set()
|
self._event_batch: Set = set()
|
||||||
self._should_run_batch_and_send_thread = True
|
self._should_run_batch_and_send_thread = True
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
|
Loading…
Reference in New Issue