We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0aeef8 commit ae83f2dCopy full SHA for ae83f2d
1 file changed
src/simple_github/auth.py
@@ -50,11 +50,12 @@ async def get_token(self) -> str:
50
51
52
class AppAuth(Auth):
53
- def __init__(self, app_id: int | str, privkey: str):
+ def __init__(self, app_id: str | int, privkey: str):
54
"""Authentication for a Github app.
55
56
Args:
57
- id (int or str): The Github app id.
+ app_id (str or int): The Github Client (str) or App (int) ID. GitHub
58
+ recommends using the Client ID.
59
privkey (str): A base64 encoded private key associated with the
60
app.
61
"""
0 commit comments