Skip to content

Commit e814a01

Browse files
committed
feat(http): implement rate-limit handling with auto-retry (#11)
1 parent 73781ec commit e814a01

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/shade/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
from .errors import HTTPError, RateLimitError, ShadeError
1+
from .gateway import Gateway
2+
from .http import AsyncHTTPClient, SyncHTTPClient
23
from .errors import (
34
AuthenticationError,
45
InvalidRequestError,
56
NetworkError,
67
NotFoundError,
8+
HTTPError,
9+
RateLimitError,
710
ShadeError,
811
)
9-
from .gateway import Gateway
10-
from .http import AsyncHTTPClient, SyncHTTPClient
1112

1213
__version__ = "0.1.0"
1314

@@ -18,11 +19,10 @@
1819
"ShadeError",
1920
"HTTPError",
2021
"RateLimitError",
21-
]
2222
"AuthenticationError",
2323
"Gateway",
2424
"InvalidRequestError",
2525
"NetworkError",
2626
"NotFoundError",
2727
"ShadeError",
28-
]
28+
]

0 commit comments

Comments
 (0)