connexion
connexion copied to clipboard
Handle starlette/templating.py:161: DeprecationWarning: The `name` is…
Fixes:
starlette/templating.py:161: DeprecationWarning: The name
is not the first parameter anymore. The first parameter should be the Request
instance.
Replace TemplateResponse(name, {"request": request})
by TemplateResponse(request, name)
.
Changes proposed in this pull request: