Agent: Add type annotation for `send_all_events_to_island._batch_and_send_events_thread._event_batch`

This commit is contained in:
Shreya Malviya 2022-09-13 12:58:00 +05:30
parent 8f4aefda74
commit 1abf323b14
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import logging
import queue
import threading
from typing import Set
import requests
@ -43,7 +44,7 @@ class send_all_events_to_island:
self._server_address = server_address
self._time_period = time_period
self._event_batch = set()
self._event_batch: Set = set()
self._should_run_batch_and_send_thread = True
def start(self):