Skip to content

Commit 11bdd75

Browse files
committed
fix: correct docstring return type for get_github_app_installation_token
The docstring documented 'str' as the return type but the function signature is 'str | None' and returns None on failure. Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent d527d2b commit 11bdd75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_github_app_installation_token(
7070
gh_app_installation_id (str): the GitHub App Installation ID
7171
7272
Returns:
73-
str: the GitHub App token
73+
str | None: the GitHub App token, or None if the request fails
7474
"""
7575
try:
7676
ghe = ghe.rstrip("/")

0 commit comments

Comments
 (0)