Skip to content

Commit 281505a

Browse files
committed
Fix location argument name for docs
It seems that the location argument name is wrong in the docs: https://webargs.readthedocs.io/en/latest/api.html#webargs.core.Parser.use_kwargs Probably a remnant of the pre v6.0.0 code. This should fix it.
1 parent 9ac7ae5 commit 281505a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webargs/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def greet(args):
324324
:param argmap: Either a `marshmallow.Schema`, a `dict`
325325
of argname -> `marshmallow.fields.Field` pairs, or a callable
326326
which accepts a request and returns a `marshmallow.Schema`.
327-
:param str locations: Where on the request to load values.
327+
:param str location: Where on the request to load values.
328328
:param bool as_kwargs: Whether to insert arguments as keyword arguments.
329329
:param callable validate: Validation function that receives the dictionary
330330
of parsed arguments. If the function returns ``False``, the parser

0 commit comments

Comments
 (0)