additional variables and default values in Route #1705
Answered
by
Kludex
sandeep-gh
asked this question in
Q&A
-
It seems in Flask, we can specify routes as follows:
which essentially injects defaults in the function's namespace. Was wondering if there something similar available for Starlette or FastAPI. Should we use partial function bindings? |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jan 11, 2023
Replies: 1 comment
-
There's no such a thing for Starlette. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no such a thing for Starlette.