Label

class github.Label.Label

This class represents Labels. The reference can be found here https://docs.github.com/en/rest/reference/issues#labels

color
Type:string
description
Type:string
name
Type:string
url
Type:string
delete()
Calls:DELETE /repos/{owner}/{repo}/labels/{name}
Return type:None
edit(name, color, description=NotSet)
Calls:

PATCH /repos/{owner}/{repo}/labels/{name}

Parameters:
  • name – string
  • color – string
  • description – string
Return type:

None