Skip to content

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

+1-1
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)