mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Co-authored-by: Aleksei Fedotov <aleksei@fedotov.email>
This commit is contained in:
co-authored by
Aleksei Fedotov
parent
17b44d8857
commit
437ff8452a
@@ -1,6 +1,7 @@
|
||||
from datetime import date, datetime
|
||||
from typing import Any, Dict, List, Optional, Union, overload
|
||||
|
||||
from github.Artifact import Artifact
|
||||
from github.AuthenticatedUser import AuthenticatedUser
|
||||
from github.Branch import Branch
|
||||
from github.CheckRun import CheckRun
|
||||
@@ -305,6 +306,8 @@ class Repository(CompletableGithubObject):
|
||||
def get_archive_link(
|
||||
self, archive_format: str, ref: Union[str, _NotSetType] = ...
|
||||
) -> str: ...
|
||||
def get_artifact(self) -> Artifact: ...
|
||||
def get_artifacts(self) -> PaginatedList[Artifact]: ...
|
||||
def get_assignees(self) -> PaginatedList[NamedUser]: ...
|
||||
def get_branch(self, branch: str) -> Branch: ...
|
||||
def rename_branch(self, branch: Union[str, Branch], new_name: str) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user