Closed mkaminsky closed 8 months ago
Hello everyone,
I face the same problem both in Windows 10 and Ubuntu 20 using Python 3.10
Possible solution?
Thanks in advance!
I've experienced the same issue. Requiring starlette < 0.28 in my pip env resolves it until @jasongi 's fix in #744 is released.
thanks everyone 🙏
I've push 2 different releases with fixes:
0.15.7
: limit fastapi version to <0.1070.16.0
: limit fastapi version to >=0.107.0 + change in the code to adapt with new starlette version
Problem description
Jinja2Templates()
works.Jinja2Templates.__init__()
now has anassert directory or env
directory=""
which python evaluates to False, which triggers the assertExpected Output
No assertion error.
Environment Information
Ubuntu 22.04, python3.11