Skip to content
This repository was archived by the owner on Jan 31, 2026. It is now read-only.

Fixing typing issues and adding new support#11

Open
Zwork101 wants to merge 1 commit into
Quart-Addons:mainfrom
Zwork101:main
Open

Fixing typing issues and adding new support#11
Zwork101 wants to merge 1 commit into
Quart-Addons:mainfrom
Zwork101:main

Conversation

@Zwork101

Copy link
Copy Markdown

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
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants