99import glob
1010import json
1111import os
12- from typing import Any
1312from collections .abc import Sequence
13+ from typing import Any
1414from urllib .error import HTTPError
1515from urllib .error import URLError
1616from urllib .request import urlopen
@@ -287,7 +287,7 @@ def get_datasets_and_aliases(
287287
288288def hdf5_to_array (
289289 h5file : h5py .File ,
290- channels : Sequence [Dict [str , Any ]],
290+ channels : Sequence [dict [str , Any ]],
291291 time_stamps = False ,
292292 ms_markers_key : str = "msMarkers" ,
293293 first_event_time_stamp_key : str = "FirstEventTimeStamp" ,
@@ -298,7 +298,7 @@ def hdf5_to_array(
298298 Args:
299299 h5file (h5py.File):
300300 hdf5 file handle to read from
301- channels (Sequence[Dict [str, any]]):
301+ channels (Sequence[dict [str, any]]):
302302 channel dicts containing group names and types to read.
303303 time_stamps (bool, optional):
304304 Option to calculate time stamps. Defaults to False.
@@ -373,7 +373,7 @@ def hdf5_to_array(
373373
374374def hdf5_to_timed_array (
375375 h5file : h5py .File ,
376- channels : Sequence [Dict [str , Any ]],
376+ channels : Sequence [dict [str , Any ]],
377377 time_stamps = False ,
378378 ms_markers_key : str = "msMarkers" ,
379379 first_event_time_stamp_key : str = "FirstEventTimeStamp" ,
@@ -384,7 +384,7 @@ def hdf5_to_timed_array(
384384 Args:
385385 h5file (h5py.File):
386386 hdf5 file handle to read from
387- channels (Sequence[Dict [str, any]]):
387+ channels (Sequence[dict [str, any]]):
388388 channel dicts containing group names and types to read.
389389 time_stamps (bool, optional):
390390 Option to calculate time stamps. Defaults to False.
0 commit comments