Skip to content

Conversation

Zwork101
Copy link

It's great to see the efforts that have gone into typing in Quart-WTF so far, but there is a bit more polishing that can be done. Primarily, I started this PR because QuartForm's create_form returned specifically an instance of QuartForm, not the correct class instance. My solution uses typing_extentions, which is already required by Quart anyways, and won't be adding a dependency for the vast majority of projects. I also took a shot at resolving any other typing issues I could find between what mypy and pyright complained about.

@frankier
Copy link

Fixing the typing error on create_form seems like a good idea to me.

@crood58 / @quartlover Would you be open to merging this? Happy to help fix conflicts or open a more limited PR if it'd be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants