mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
* Support full GitHub app authentication Refactor GithubIntegration class and add test case for app authentication Add permissions and repository properties in InstallationAuthorization Set JWT_EXPIRY=60 by default in GithubIntegration constructor * Modify existing testcases for GithubIntegration as per the framework and add missing tests * Provide installation ID for creating the access token instead of getting the first installation * Add optional permissions support for installation access token * Add lock around app authentication * Keep compatibility for importing GithubIntegration from MainClass * Group app authentication parameters in a class Co-authored-by: Malik Ammar Akbar <malikammar.akbar@pfizer.com> Co-authored-by: Enrico Minack <github@enrico.minack.dev>
20 lines
596 B
Python
20 lines
596 B
Python
from typing import Any, Dict, List, Union
|
|
|
|
from github.GithubObject import NonCompletableGithubObject
|
|
|
|
class SelfHostedActionsRunner(NonCompletableGithubObject):
|
|
def __repr__(self) -> str: ...
|
|
def _initAttributes(self) -> None: ...
|
|
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
|
|
@property
|
|
def id(self) -> int: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@property
|
|
def os(self) -> str: ...
|
|
@property
|
|
def status(self) -> str: ...
|
|
@property
|
|
def busy(self) -> bool: ...
|
|
def labels(self) -> List[Dict[str, Union[str, int]]]: ...
|