summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorThomas de Grenier de Latour <thomas.degrenierdelatour@orange.com>2022-01-25 23:10:13 +0100
committerThomas de Grenier de Latour <thomas.degrenierdelatour@orange.com>2022-01-25 23:10:13 +0100
commitbbb7df526f4375c438be97d8cfa0d9ea9d604e7d (patch)
tree1b3ec7e51c0e72e1adbdd1330f02ed2079a59d04 /gitlab/cli.py
parent30117a3b6a8ee24362de798b2fa596a343b8774f (diff)
downloadgitlab-bbb7df526f4375c438be97d8cfa0d9ea9d604e7d.tar.gz
fix(cli): make 'timeout' type explicit
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r--gitlab/cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py
index c4af4b8..4bca0bf 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -181,6 +181,7 @@ def _get_base_parser(add_help: bool = True) -> argparse.ArgumentParser:
"[env var: GITLAB_TIMEOUT]"
),
required=False,
+ type=int,
default=os.getenv("GITLAB_TIMEOUT"),
)
parser.add_argument(