Skip to content

Commit b66993a

Browse files
committed
Refactor: client.py became too large/difficult to understand; .py files and their contained functions did not correspond to another
Solution: refactor client.py into own module; rename pagination to page_size where possible; refactor models module
1 parent 347b0e2 commit b66993a

File tree

11 files changed

+575
-564
lines changed

11 files changed

+575
-564
lines changed

src/aleph/sdk/client/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from .authenticated import AuthenticatedAlephClient, AuthenticatedUserSessionSync
2+
from .base import BaseAlephClient, BaseAuthenticatedAlephClient
3+
from .client import AlephClient, UserSessionSync
4+
5+
__all__ = [
6+
"BaseAlephClient",
7+
"BaseAuthenticatedAlephClient",
8+
"AlephClient",
9+
"AuthenticatedAlephClient",
10+
"UserSessionSync",
11+
"AuthenticatedUserSessionSync",
12+
]

0 commit comments

Comments
 (0)