Maillol / aiohttp-pydantic

Aiohttp View that validates request body and query sting regarding the annotations declared in the View method
MIT License
67 stars 21 forks source link

App key as web.AppKey #53

Closed shizacat closed 7 months ago

shizacat commented 7 months ago

To work with keys that are inside the App, starting from version 3.9, it is recommended to use the object web.AppKey

Up minimal version of aiohttp - 3.9.0

Docs: https://docs.aiohttp.org/en/stable/_modules/aiohttp/web_app.html

Maillol commented 7 months ago

Released in https://pypi.org/project/pydantic_aiohttp/1.0.1/ with modifications https://github.com/Maillol/aiohttp-pydantic/pull/54/files in order to ensure backwards compatibility.