mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
merge GithubObject.pyi/Requester.pyi stubs back to source (#2463)
Co-authored-by: Enrico Minack <github@enrico.minack.dev> Co-authored-by: Jonathan Leitschuh <jonathan.leitschuh@gmail.com>
This commit is contained in:
co-authored by
Enrico Minack
Jonathan Leitschuh
parent
6d4b6d1419
commit
b6258f4be9
@@ -326,24 +326,22 @@ class RepositoryAdvisory(github.GithubObject.NonCompletableGithubObject):
|
||||
|
||||
def edit(
|
||||
self,
|
||||
summary: github.GithubObject.OptionallySet[str] = github.GithubObject.NotSet,
|
||||
description: github.GithubObject.OptionallySet[
|
||||
summary: github.GithubObject.Opt[str] = github.GithubObject.NotSet,
|
||||
description: github.GithubObject.Opt[str] = github.GithubObject.NotSet,
|
||||
severity_or_cvss_vector_string: github.GithubObject.Opt[
|
||||
str
|
||||
] = github.GithubObject.NotSet,
|
||||
severity_or_cvss_vector_string: github.GithubObject.OptionallySet[
|
||||
str
|
||||
] = github.GithubObject.NotSet,
|
||||
cve_id: github.GithubObject.OptionallySet[str] = github.GithubObject.NotSet,
|
||||
vulnerabilities: github.GithubObject.OptionallySet[
|
||||
cve_id: github.GithubObject.Opt[str] = github.GithubObject.NotSet,
|
||||
vulnerabilities: github.GithubObject.Opt[
|
||||
typing.Iterable[AdvisoryVulnerability]
|
||||
] = github.GithubObject.NotSet,
|
||||
cwe_ids: github.GithubObject.OptionallySet[
|
||||
cwe_ids: github.GithubObject.Opt[
|
||||
typing.Iterable[str]
|
||||
] = github.GithubObject.NotSet,
|
||||
credits: github.GithubObject.OptionallySet[
|
||||
credits: github.GithubObject.Opt[
|
||||
typing.Iterable[Credit]
|
||||
] = github.GithubObject.NotSet,
|
||||
state: github.GithubObject.OptionallySet[str] = github.GithubObject.NotSet,
|
||||
state: github.GithubObject.Opt[str] = github.GithubObject.NotSet,
|
||||
) -> "RepositoryAdvisory":
|
||||
"""
|
||||
:calls: `PATCH /repos/{owner}/{repo}/security-advisories/:advisory_id <https://docs.github.com/en/rest/security-advisories/repository-advisories>`_
|
||||
|
||||
Reference in New Issue
Block a user