Skip to content

Commit 3aa947a

Browse files
committed
base pagination added for typing
1 parent c4097e7 commit 3aa947a

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
Binary file not shown.
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from typing import Generic
2+
3+
from djapy.schema import Schema
4+
from djapy.core.typing_utils import G_TYPE
5+
6+
7+
class BasePagination:
8+
"""
9+
Basic pagination with no features implemented. This is the structure of the pagination.
10+
"""
11+
12+
query = []
13+
14+
class response(Schema, Generic[G_TYPE]):
15+
pass

0 commit comments

Comments
 (0)