1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-05 05:47:37 +00:00

Massive shift to avoid circular imports, functionally the same, though objects are forced to be in one file to avoid the circular nature

This commit is contained in:
sudosnok 2022-04-07 22:56:01 +01:00
parent e0623fe367
commit 8b91010b12
10 changed files with 326 additions and 335 deletions

View file

@ -1,18 +1,20 @@
#== main.py ==#
from __future__ import annotations
__all__ = (
'GHClient',
)
import aiohttp
import asyncio
import functools
from getpass import getpass
from .http import http
import aiohttp
from . import exceptions
from .objects import User, PartialUser, Repository, Organization, Issue, Gist
from .cache import UserCache, RepoCache
from .cache import RepoCache, UserCache
from .http import http
from .objects import Gist, Issue, Organization, Repository, User
class GHClient:
_auth = None