Simple json request template validator for aiohttp
Project description
Simple json template verifier for aiohttp 1
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.1590327364.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for aiojson-0.3.1590327364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0968521465b9532db76164cf3575690b569520957f9c0ebc84a40321b250f604 |
|
MD5 | d0c70bb2b88d5514fa9f23282ec6761a |
|
BLAKE2b-256 | 86c37d67f9e75a52ffc5f9b4e8df517a68aa04979a636c29d7aaba95ae68bfc9 |