webargs
webargs copied to clipboard
A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.
In the next major webargs release (9.0), we should make sure to update the minimum versions of the various frameworks which we test against. IIRC, the current bounds came from...
In #687 , we started to discuss our more general setup in terms of Azure Pipelines vs GitHub Actions (GH Actions). A couple of us support the switch to GH...
There are a few cases of interesting usages that come up in issues, but which don't seem appropriate to put into our main docs (b/c we don't want to bloat...
Hi, I'm using axios to send a GET request to my flask-smorest endpoint. I know there's no real agreement on this spec-wise, but the request's querystring contains an array, and...
The documentation on passed values (https://flask-smorest.readthedocs.io/en/latest/arguments.html) for form values, json, headers, query, etc. do not have case sensitivity documented. I would expect locations like json would be case sensitive, but...
Add a decorator that will parse request arguments from the view function's type annotations. I've built a working proof of concept of this idea in [webargs-starlette](https://github.com/sloria/webargs-starlette). ```python @app.route("/") @use_annotations(locations=("query",)) async...
Parse Json and validate schemas are CPU bound tasks. Parse and validate long bodies can impact the reactivity of the event loop. Use a ThreadPoolExecutor is a simple and eficient...
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.8.2 to 2.9.0.post0. Release notes Sourced from python-dateutil's releases. 2.9.0.post0 Version 2.9.0.post0 (2024-03-01) Bugfixes Pinned setuptools_scm to <8, which should make the generated _version.py file compatible with...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.4) - [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.28.3) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0)
We currently have some test failures in basically all python versions, starting ~2 days ago. At first glance, it looks like an issue with `tornado`'s `AsyncHTTPTestCase`, but `tornado` doesn't have...