8000 use postponed evaluation of annotations by davidism · Pull Request #5071 · pallets/flask · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

use postponed evaluation of annotations #5071

New issue

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

Merged
merged 1 commit into from
Apr 20, 2023
Merged

use postponed evaluation of annotations #5071

merged 1 commit into from
Apr 20, 2023

Conversation

davidism
Copy link
Member

Add from __future__ import annotations to every file that may be annotated. Replace old Union, Optional, and types with their modern equivalent syntax using pyupgrade (with some extra setup work first since it doesn't understand t.Union, only Union).

@davidism davidism added this to the 2.3.0 milestone Apr 20, 2023
@davidism davidism merged commit a4ea5df into main Apr 20, 2023
@davidism davidism deleted the future-annotations branch April 20, 2023 16:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0