Files
PyGithub/github/PublicKey.pyi
T
Chris KeatingandLiuyang Wan c90c050ef1 Adding github actions secrets (#1681)
* Fixed pre-commit issues

* Fixed mypy linting error

* Fix flake8 error

* Update PublicKey.py

* Update PublicKey.py

* Update setup.py

* Update setup.py

* Update requirements.txt

Co-authored-by: Liuyang Wan <tsfdye@gmail.com>

Co-authored-by: Liuyang Wan <tsfdye@gmail.com>
2021-03-07 05:40:52 +08:00

14 lines
426 B
Python

from typing import Any, Dict
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) -> str: ...
@property
def key(self) -> str: ...
def encrypt(self, unencrypted_value: str) -> str: ...