Files
PyGithub/github/PublicKey.pyi
T
MeggyCal ad124ef481 key_id could be int on Github Enterprise (#1894)
* PublicKey.key_id can also be int, as well as str

Fixes #1878
2021-03-26 20:31:17 +11:00

14 lines
445 B
Python

from typing import Any, Dict, Union
from github.GithubObject import CompletableGithubObject
class PublicKey(CompletableGithubObject):
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def key_id(self) -> Union[str, int]: ...
@property
def key(self) -> str: ...
def encrypt(self, unencrypted_value: str) -> str: ...