Parses query args in sanic using type annotations
Project description
Sanicargs
Parses query args in sanic using type annotations
Usage
Use with Sanic framework
@app.route("/datetime", methods=['GET']) @parse_query_args async def test_datetime(request, test: datetime.datetime): return response.json({'test': test.isoformat()})
History
0.0.1 (2017-08-09)
git init
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sanicargs-0.0.3.tar.gz
(4.0 kB
view hashes)