diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-10-22 14:45:53 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-10-27 08:06:52 -0700 |
commit | 50731c173083460f249b1718cbe2288fc3c46c1a (patch) | |
tree | 9b8a7e7d0d263545b631990c79f73aa54656f61e | |
parent | 545d6d60673c7686ec873a343b6afd77ec9062ec (diff) | |
download | gitlab-50731c173083460f249b1718cbe2288fc3c46c1a.tar.gz |
chore: narrow type hints for license API
-rw-r--r-- | gitlab/client.py | 2 |
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: |