How to distract query params from getting into query params, and makes them data/payload? #9
-
If you wanna use types like @djapify
def related_post(request, search_topic: unquery[conint(ge=2)]) -> {200: list[str], 401: ErrorMessage}:
return 200, []
or
@djapify
def related_post(request, search_topic: unquery[str]) -> {200: list[str], 401: ErrorMessage}:
return 200, [] |
Beta Was this translation helpful? Give feedback.
Answered by
Bishwas-py
Mar 7, 2024
Replies: 1 comment
-
Import and use it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Bishwas-py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Import and use it: