Simple json request template validator for aiohttp
Project description
Simple json template verifier for aiohttp
Usage
Simple example:
from aiohttp import JsonTemplate
@JsonTemplate({
"messages": [{
"id": int,
"text": str
}])
async def received_message(request, validated_data):
pass
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
aiojson-0.3.1590326903.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for aiojson-0.3.1590326903-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3211a1b15d2de2f368727443a0042a552c03d51774454cad1d34873bbcbac1 |
|
MD5 | 561c9618c118265d83ad8208d447c7b4 |
|
BLAKE2b-256 | dad448ea9cc424dd953eca9472a0e418158c5541324f701b30051c975e048104 |