We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e527e commit 117c09aCopy full SHA for 117c09a
2 files changed
client/types/__init__.py
@@ -22,10 +22,10 @@ class ResponseMeta(TypedDict):
22
totalCount: int
23
24
25
-class Response(TypedDict, Generic[T]):
+class Response(Generic[T]):
26
data: T
27
28
29
-class PaginatedResponse(TypedDict, Generic[T]):
+class PaginatedResponse(Generic[T]):
30
meta: ResponseMeta
31
data: list[T]
client/types/tokens.py
@@ -57,11 +57,11 @@ class TokenAddressHoldersResponse(TypedDict):
57
tokenAddress: str
58
59
60
-class TokenPaginatedResponseData(TypedDict, Generic[T]):
+class TokenPaginatedResponseData(Generic[T]):
61
62
63
64
-class TokenPaginatedResponseResults(TypedDict, Generic[T]):
+class TokenPaginatedResponseResults(Generic[T]):
65
66
results: list[T]
67
0 commit comments