Skip to content

Commit c73b234

Browse files
committed
Fix README example
1 parent 377fb64 commit c73b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ webargs is a Python library for parsing and validating HTTP request objects, wit
3636
3737
3838
@app.route("/")
39-
@use_args({"name": fields.Str(required=True)})
39+
@use_args({"name": fields.Str(required=True)}, location="query")
4040
def index(args):
4141
return "Hello " + args["name"]
4242

0 commit comments

Comments
 (0)