pallets / quart

An async Python micro framework for building web applications.
https://quart.palletsprojects.com
MIT License
3.01k stars 164 forks source link

Base Quart's default_config on Flask's #378

Open JamesParrott opened 5 days ago

JamesParrott commented 5 days ago

Fixes #371 without pinning Flask to 3.0.0

A three line change, as per the title:

image

JamesParrott commented 4 days ago

Thanks for the review. I've made the first change to the import. I case sensitive searched for "Flask" and that string only shows up in comments, so from this basic search at least, I couldn't find a clash in the namespace, so I assume the addition to the namespace is fine.

I don't object to cleaning up the keys, but I'd prefer if someone else took that job on. The first time I looked at Quart's source code was Tuesday this week, so I don't yet have enough knowledge of Flask and Quart to say what all the config items do, and which can safely be removed.