refactor: replace deprecated imports from typing
https://peps.python.org/pep-0585/#implementation
This commit is contained in:
@@ -4,7 +4,6 @@ import queue
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
from typing import List
|
||||
|
||||
import h5py
|
||||
import numpy as np
|
||||
@@ -147,7 +146,7 @@ class NIDAQWriterService(BECService):
|
||||
else:
|
||||
self.scan_is_running = False
|
||||
|
||||
def handle_ni_data(self, msgs: List[messages.DeviceMessage]) -> None:
|
||||
def handle_ni_data(self, msgs: list[messages.DeviceMessage]) -> None:
|
||||
"""
|
||||
Receive NI data messages and write them to the writer queue.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user