Skip to content

issue_config

Accessed as client.repos.issue_config; the async client mirrors it.

ReposIssueConfig

The repos.issue_config namespace.

get

get(owner: str, repo: str) -> IssueConfig

Returns the issue config for a repo.

Parameters:

Name Type Description Default
owner str

owner of the repo

required
repo str

name of the repo

required

Returns:

Type Description
IssueConfig

RepoIssueConfig.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: repoGetIssueConfig

validate

validate(owner: str, repo: str) -> IssueConfigValidation

Returns the validation information for a issue config.

Parameters:

Name Type Description Default
owner str

owner of the repo

required
repo str

name of the repo

required

Returns:

Type Description
IssueConfigValidation

RepoIssueConfigValidation.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: repoValidateIssueConfig

AsyncReposIssueConfig

The repos.issue_config namespace.

get

get(owner: str, repo: str) -> IssueConfig

Returns the issue config for a repo.

Parameters:

Name Type Description Default
owner str

owner of the repo

required
repo str

name of the repo

required

Returns:

Type Description
IssueConfig

RepoIssueConfig.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: repoGetIssueConfig

validate

validate(owner: str, repo: str) -> IssueConfigValidation

Returns the validation information for a issue config.

Parameters:

Name Type Description Default
owner str

owner of the repo

required
repo str

name of the repo

required

Returns:

Type Description
IssueConfigValidation

RepoIssueConfigValidation.

Raises:

Type Description
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: repoValidateIssueConfig