Skip to content

Commit

Permalink
chore: narrow type hints for license API
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch authored and JohnVillalovos committed Oct 27, 2022
1 parent 545d6d6 commit 50731c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/client.py
Expand Up @@ -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:
Expand Down

0 comments on commit 50731c1

Please sign in to comment.