aiohttp-admin
aiohttp-admin copied to clipboard
create_validator() validator correction
new_schema = t.Dict({})
new_schema.keys = keys
This create_validator func takes not empty Dict (with keys and with _keys) and then this lines creates empty Dict() and add keys without _keys. In trafaret Dict.transform() method raise DataError if not _keys.