Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 8881ec3

Browse files
Pyre Bot Jrfacebook-github-bot
authored andcommitted
Add annotations to pytorch/elastic
Reviewed By: shannonzhu Differential Revision: D33955873 fbshipit-source-id: 84e9ee4bb6595ba2e4a299561845f486ceeeb552
1 parent f17902f commit 8881ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import time
1111

1212

13-
def wait_for(msg, timeout=300, interval=1, print_spinner=True):
13+
def wait_for(msg, timeout: float = 300, interval: int = 1, print_spinner: bool = True):
1414
"""
1515
for _ in wait_for("asg to provision", timeout_sec, interval_sec):
1616
if check_condition():.

0 commit comments

Comments
 (0)