python-sanicargs
python-sanicargs copied to clipboard
Parses query args in Sanic using type annotations
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...
Bumps [black](https://github.com/psf/black) from 23.7.0 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...
If I see it correctly, I can't parse float parameters. Is there a reason for this, or was it just an oversight not to add that?
With the newly added `parse_parameters` decorator, the logic assume that GET request has query parameters only and POST requests has body parameters only. Based on comments from @sloev we believe...
if we use dateutils (pip install python-dateutil) we can parse datetimes better: ``` >>> parser.parse('2018-12-21T08:35:01.0999+07:00') datetime.datetime(2018, 12, 21, 8, 35, 1, 99900, tzinfo=tzoffset(None, 25200)) ```