From 1f1fe877e53aecc618e792c5c50d6475223daf2b Mon Sep 17 00:00:00 2001 From: sudosnok Date: Sun, 27 Mar 2022 16:12:08 +0100 Subject: [PATCH] Added all and fixed imports --- Github/http.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Github/http.py b/Github/http.py index caab1ae..3d8d990 100644 --- a/Github/http.py +++ b/Github/http.py @@ -7,10 +7,16 @@ from datetime import datetime from types import SimpleNamespace import re +from .exceptions import * +from .objects import * +from .urls import * + +__all__ = ( + 'make_session', + 'Paginator', + 'get_user', +) -from exceptions import * -from objects import * -from urls import * LINK_PARSING_RE = re.compile(r"<(\S+(\S))>; rel=\"(\S+)\"") Rates = namedtuple('Rates', ('remaining', 'used', 'total', 'reset_when', 'last_request'))