created design pattern
This commit is contained in:
@@ -144,6 +144,7 @@ class Pagination:
|
||||
self.orderField = "uu_id"
|
||||
self.orderType = "asc"
|
||||
|
||||
@property
|
||||
def as_dict(self) -> Dict[str, Any]:
|
||||
"""Convert pagination state to dictionary format."""
|
||||
self.refresh()
|
||||
|
||||
Reference in New Issue
Block a user