We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quart currently supports only str | None for the template folder argument of the app, while Flask also supports os.PathLike[str].
str | None
os.PathLike[str]
quart/src/quart/app.py
Line 287 in b5593ca
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.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Quart currently supports only
str | None
for 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.
The text was updated successfully, but these errors were encountered: