You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting on this. I will add the path and view_args locations later.
I have some doubts about this. If a view accepts a path schema, then the view function will have to declare both the path variables (one by one) and the path schema data:
@greyli Correct. Unfortunately, the path_data is passed as another dictionary after all the path arguments. I do not know the reasoning behind it but this is the implementation from webargs.
To validate path arguments with
webargs
the location value that has to be used isview_args
. Documentation link.The following code
should be possible to be written as
The text was updated successfully, but these errors were encountered: