Skip to content

[WTForms] Mark render_kw, get_translations() and some messages as possibly None - #16830

Open
hemtilva wants to merge 2 commits into
python:mainfrom
hemtilva:wtforms-optional-attrs
Open

hemtilva wants to merge 2 commits into
python:mainfrom
hemtilva:wtforms-optional-attrs

Conversation

@hemtilva

Copy link
Copy Markdown
Contributor

Fixes #16828

Adds | None where WTForms defaults to None, fixes the translations_cache key type, and adds DateTimeLocalField.tz. Added @tests/test_cases/check_optional_attributes.py.

I used Claude to help with this.

…ttributes can be None; add DateTimeLocalField.tz
Copilot AI balanced review requested due to automatic review settings November 16, 2026 05:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
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.

[WTForms] render_kw, get_translations() and some messages can be None

2 participants