I have many routes that need to use "page" and "page_size". Is there a solution with class inheritance for Query ? #11813
Replies: 2 comments 1 reply
-
@router.get("/item1") Is there a simpler way to solve the repeated parameters? |
Beta Was this translation helpful? Give feedback.
-
Format you code with the code block, please. You can use dependency function for this reason:
|
Beta Was this translation helpful? Give feedback.
-
Privileged issue
Issue Content
I have many routes that need to use "page" and "page_size". Is there a solution with class inheritance for Query ?
Beta Was this translation helpful? Give feedback.
All reactions