Skip to content

Commit fd182cc

Browse files
committed
Updated pr.
1 parent 7c27724 commit fd182cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ads/opctl/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,14 +480,14 @@ def cancel(**kwargs):
480480
@click.option(
481481
"--interval",
482482
help="log interval in seconds",
483-
type=int,
483+
type=[click.INT, click.FLOAT],
484484
required=False,
485485
default=3,
486486
)
487487
@click.option(
488488
"--wait",
489489
help="time in seconds to keep updating the logs after the job run finished for job.",
490-
type=int,
490+
type=[click.INT, click.FLOAT],
491491
required=False,
492492
default=90
493493
)

0 commit comments

Comments
 (0)