FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: narrow type hints for license API · python-gitlab/python-gitlab@50731c1 · GitHub

Repository navigation

Commit 50731c1

Browse files
authored andcommitted
chore: narrow type hints for license API
1 parent 545d6d6 commit 50731c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎gitlab/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def markdown(
439439
return data["html"]
440440

441441
@gitlab.exceptions.on_http_error(gitlab.exceptions.GitlabLicenseError)
442-
def get_license(self, **kwargs: Any) -> Dict[str, Any]:
442+
def get_license(self, **kwargs: Any) -> Dict[str, Union[str, Dict[str, str]]]:
443443
"""Retrieve information about the current license.
444444
445445
Args:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL