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
Built Distribution
File details
Details for the file aiojson-0.3.1590327364.tar.gz
.
File metadata
- Download URL: aiojson-0.3.1590327364.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec3d10075b74e19edfbd719bf1815ab2a0aa63a9b6b160f3d4fe1d58113be21a |
|
MD5 | 5ba688e2860eb0d63fc061096549b536 |
|
BLAKE2b-256 | 626403ffc4577c9c33243ce160e81d14db5af1251c7acb72e1ba79848de78b8c |
File details
Details for the file aiojson-0.3.1590327364-py3-none-any.whl
.
File metadata
- Download URL: aiojson-0.3.1590327364-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0968521465b9532db76164cf3575690b569520957f9c0ebc84a40321b250f604 |
|
MD5 | d0c70bb2b88d5514fa9f23282ec6761a |
|
BLAKE2b-256 | 86c37d67f9e75a52ffc5f9b4e8df517a68aa04979a636c29d7aaba95ae68bfc9 |