We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a40c3 commit 2fb3f92Copy full SHA for 2fb3f92
1 file changed
avapi/_dataset.py
@@ -1,7 +1,7 @@
1
import json
2
import os
3
import random
4
-from typing import Tuple, Union
+from typing import Iterable, Tuple, Union
5
6
import numpy as np
7
from avstack import calibration, sensors
@@ -44,7 +44,7 @@ def get_reference_from_line(line):
44
45
46
class BaseSceneManager:
47
- def __iter__(self):
+ def __iter__(self) -> Iterable["BaseSceneDataset"]:
48
for scene in self.scenes:
49
yield self.get_scene_dataset_by_name(scene)
50
0 commit comments