Quart currently supports only str | None for the template folder argument of the app, while Flask also supports os.PathLike[str].
|
template_folder: str | None = "templates", |
flask/src/flask/app.py
template_folder: str | os.PathLike[str] | None = "templates",
As Quart seems to pass the argument directly to Flask.App, I do not think the further restriction is necessary.
Quart currently supports only
str | Nonefor the template folder argument of the app, while Flask also supportsos.PathLike[str].quart/src/quart/app.py
Line 287 in b5593ca
flask/src/flask/app.py
As Quart seems to pass the argument directly to Flask.App, I do not think the further restriction is necessary.