Modernizing Typing

All Dict, List were converted to dict, list, see: https://mypy.readthedocs.io/en/stable/builtin_types.html#generic-types
This commit is contained in:
Sebastian Englbrecht
2022-04-16 17:38:07 +02:00
committed by Blake Blackshear
parent a1afade9ba
commit ebf4e43ced
4 changed files with 9 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ import subprocess as sp
import threading
import time
from collections import defaultdict
from typing import Dict, List
import numpy as np
from cv2 import cv2, reduce
@@ -476,8 +475,8 @@ def process_frames(
object_detector: RemoteObjectDetector,
object_tracker: ObjectTracker,
detected_objects_queue: mp.Queue,
process_info: Dict,
objects_to_track: List[str],
process_info: dict,
objects_to_track: list[str],
object_filters,
detection_enabled: mp.Value,
stop_event,