mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-17 14:35:09 +00:00
Mangle token
This commit is contained in:
parent
15b3546e27
commit
72bd647c9b
3 changed files with 15 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue