We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97a6f0c commit 8993789Copy full SHA for 8993789
1 file changed
avapi/_dataset.py
@@ -134,7 +134,7 @@ def check_frame(self, frame):
134
def get_agents(self, frame: int) -> "DataContainer":
135
return self._load_agents(frame)
136
137
- def get_agent(self, frame: int, agent: int) -> List[VehicleState]:
+ def get_agent(self, frame: int, agent: int) -> VehicleState:
138
agents = self.get_agents(frame)
139
return [ag for ag in agents if ag.ID == agent][0]
140
0 commit comments