Skip to content

Commit 3870293

Browse files
committed
Add missing type annotation
1 parent e2c9358 commit 3870293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosapi/src/rosapi/async_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def future_done_callback(arg):
5858

5959
async def async_sleep(node: Node, delay_sec: float):
6060
"""Block the coroutine for a given time."""
61-
sleep_future = Future()
61+
sleep_future: Future = Future()
6262

6363
def timeout_callback():
6464
sleep_future.set_result(None)

0 commit comments

Comments
 (0)