mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Add some attributes. (#1468)
* Add some attributes to Repository and Organization * Format. * small fix * Add some test.
This commit is contained in:
@@ -193,6 +193,8 @@ class Repository:
|
||||
author: Union[InputGitAuthor, _NotSetType] = ...,
|
||||
) -> Dict[str, Union[Commit, _NotSetType]]: ...
|
||||
@property
|
||||
def deployments_url(self) -> str: ...
|
||||
@property
|
||||
def description(self) -> str: ...
|
||||
def disable_automated_security_fixes(self) -> bool: ...
|
||||
def disable_vulnerability_alert(self) -> bool: ...
|
||||
@@ -381,6 +383,8 @@ class Repository:
|
||||
@property
|
||||
def has_issues(self) -> bool: ...
|
||||
@property
|
||||
def has_pages(self) -> bool: ...
|
||||
@property
|
||||
def has_projects(self) -> bool: ...
|
||||
@property
|
||||
def has_wiki(self) -> bool: ...
|
||||
@@ -443,6 +447,8 @@ class Repository:
|
||||
def pulls_url(self) -> str: ...
|
||||
@property
|
||||
def pushed_at(self) -> datetime: ...
|
||||
@property
|
||||
def releases_url(self) -> str: ...
|
||||
def remove_from_collaborators(
|
||||
self, collaborator: Union[str, NamedUser]
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user