Milestone

class github.Milestone.Milestone

This class represents Milestones.

The reference can be found here https://docs.github.com/en/rest/reference/issues#milestones

delete() → None
Calls

DELETE /repos/{owner}/{repo}/milestones/{number}

edit(title: str, state: Union[str, github.GithubObject._NotSetType] = NotSet, description: Union[str, github.GithubObject._NotSetType] = NotSet, due_on: Union[datetime.date, github.GithubObject._NotSetType] = NotSet) → None
Calls

PATCH /repos/{owner}/{repo}/milestones/{number}

get_labels() → github.PaginatedList.PaginatedList[github.Label.Label][github.Label.Label]
Calls

GET /repos/{owner}/{repo}/milestones/{number}/labels