summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-10-22 14:45:53 +0200
committerJohn Villalovos <john@sodarock.com>2022-10-27 08:06:52 -0700
commit50731c173083460f249b1718cbe2288fc3c46c1a (patch)
tree9b8a7e7d0d263545b631990c79f73aa54656f61e
parent545d6d60673c7686ec873a343b6afd77ec9062ec (diff)
downloadgitlab-50731c173083460f249b1718cbe2288fc3c46c1a.tar.gz
chore: narrow type hints for license API
-rw-r--r--gitlab/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index 1c61e5e..6e81f6a 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -439,7 +439,7 @@ class Gitlab:
return data["html"]
@gitlab.exceptions.on_http_error(gitlab.exceptions.GitlabLicenseError)
- def get_license(self, **kwargs: Any) -> Dict[str, Any]:
+ def get_license(self, **kwargs: Any) -> Dict[str, Union[str, Dict[str, str]]]:
"""Retrieve information about the current license.
Args: