1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-14 21:24:59 +00:00

Rewrote the library

- Only HTTPClient, File and Object exists currently
This commit is contained in:
RGBCube 2022-06-25 14:11:17 +03:00
parent 7bd3d48eab
commit b23d5b78eb
16 changed files with 1048 additions and 1534 deletions

18
github/objects/object.py Normal file
View file

@ -0,0 +1,18 @@
from __future__ import annotations
__all__ = ("Object",)
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from ..internals import HTTPClient
class Object:
__slots__ = ("__http",)
def __init__(self, *, http: HTTPClient) -> None:
self.__http = http
def __repr__(self) -> str:
return f"<{self.__class__.__name__}>"