1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-16 22:15:09 +00:00
This commit is contained in:
VarMonke 2022-03-27 11:38:36 +05:30
parent b8752e46b0
commit fa79b7ef9d
2 changed files with 2 additions and 10 deletions

View file

@ -48,4 +48,3 @@ async def get_user(session: aiohttp.ClientSession, username: str) -> GitHubUserD
if result.status == 200:
return await result.json()
raise UserNotFound

View file

@ -81,10 +81,3 @@ class User(_BaseUser):
"""Returns a User object from the username, with the mentions slots."""
response = await http.get_user(session, username)
return User(response, session)