Skip to content

Commit f91b6a1

Browse files
configurable timeout for REST API
1 parent 3660b1a commit f91b6a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbclient/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def get_pipeline_parser() -> argparse.ArgumentParser:
554554
parser.add_argument('--groups-to-keep', nargs='+', type=str, default=[],
555555
help='List of groups (and therefore users/notebooks) to keep if specified')
556556

557-
parser.add_argument('--timeout', type=float, default=10,
558-
help='Timeout for the calls to Databricks\' REST API, in seconds, defaults to 10')
557+
parser.add_argument('--timeout', type=float, default=10.0,
558+
help='Timeout for the calls to Databricks\' REST API, in seconds, defaults to 10.0 --use float e.g. 100.0 to make it bigger')
559559

560560
return parser

0 commit comments

Comments
 (0)