Skip to content

Commit 6e45e60

Browse files
committed
fix: update return type for TrajectoryGroup method
- Changed the return type of a method in the TrajectoryGroup class from Awaitable to Coroutine for improved type accuracy and clarity in asynchronous handling.
1 parent 64e9e6d commit 6e45e60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/art/trajectories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def __new__(
251251
metadata: dict[str, MetadataValue] | None = None,
252252
metrics: dict[str, float | int | bool] | None = None,
253253
logs: list[str] | None = None,
254-
) -> Awaitable["TrajectoryGroup"]: ...
254+
) -> Coroutine[Any, Any, "TrajectoryGroup"]: ...
255255

256256
def __new__(
257257
cls,

0 commit comments

Comments
 (0)