Add name filter to Repository.get_artifacts() (#2459)

Co-authored-by: Enrico Minack <github@enrico.minack.dev>
This commit is contained in:
Trim21
2023-06-01 14:32:55 +02:00
committed by GitHub
co-authored by Enrico Minack
parent 10816389d2
commit 9f52e9486a
10 changed files with 243 additions and 94 deletions
+3 -1
View File
@@ -315,7 +315,9 @@ class Repository(CompletableGithubObject):
self, archive_format: str, ref: Union[str, _NotSetType] = ...
) -> str: ...
def get_artifact(self, artifact_id: int) -> Artifact: ...
def get_artifacts(self) -> PaginatedList[Artifact]: ...
def get_artifacts(
self, name: Union[str, _NotSetType] = ...
) -> PaginatedList[Artifact]: ...
def get_assignees(self) -> PaginatedList[NamedUser]: ...
def get_autolinks(self) -> PaginatedList[Autolink]: ...
def get_branch(self, branch: str) -> Branch: ...