diff --git a/gitlab/client.py b/gitlab/client.py index 1c61e5ea2..6e81f6acb 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -439,7 +439,7 @@ def markdown( 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: