1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-17 14:35:09 +00:00

Mangle token

This commit is contained in:
VarMonke 2022-05-08 20:02:36 +05:30
parent 15b3546e27
commit 72bd647c9b
3 changed files with 15 additions and 11 deletions

View file

@ -253,6 +253,10 @@ class Repository(APIObject):
def forks(self) -> int:
return self._response.get('forks')
async def delete(self) -> None:
"""Deletes the repository."""
return await self._http.delete_repo(self.owner.name, self.name,) #type: ignore
class Issue(APIObject):
"""Representation of an issue on Github.