8000 chore: narrow type hints for license API · ProcessMedic/python-gitlab@50731c1 · GitHub
[go: up one dir, main page]

Skip to content
< 8000 script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/sessions-eed3aa0554dd.js" defer="defer">

Commit 50731c1

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0