Starlette ab 0.27 verlangt request als erstes Positionalargument bei TemplateResponse, das alte Schema (request im context-dict) bricht hart mit 'TypeError: unhashable type: dict' weil der context-dict an der name-Position landet und Jinja ihn als Cache-Key hashen will. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| __init__.py | ||
| app.py | ||