Readme, corrected docstrings, tokens in .env_debug

This commit is contained in:
DarkCat09 2023-02-22 21:39:50 +04:00
parent 6b9d616808
commit a85619a9fb
4 changed files with 265 additions and 10 deletions

View file

@ -13,8 +13,10 @@ async def get_form(
form: Type[T],
req: Request) -> T:
"""Almost the same as `form.from_formdata`,
and must be used *instead* of instantiatng
form object directly as in Flask
and must be used *instead* of instantiating
form object directly as in Flask.
See `respond.with_tmpl` for explanation
about the `request` argument
Args:
form (Type[StarletteForm]): StarletteForm class