8000 fix(cli): make 'timeout' type explicit · python-gitlab/python-gitlab@bbb7df5 · GitHub
[go: up one dir, main page]

Skip to content

Commit bbb7df5

Browse files
fix(cli): make 'timeout' type explicit
1 parent 30117a3 commit bbb7df5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def _get_base_parser(add_help: bool = True) -> argparse.ArgumentParser:
181181
"[env var: GITLAB_TIMEOUT]"
182182
),
183183
required=False,
184+
type=int,
184185
default=os.getenv("GITLAB_TIMEOUT"),
185186
)
186187
parser.add_argument(

0 commit comments

Comments
 (0)
0