Skip to content
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

Appease type checker for converted None to default #417

Open
mhostetter opened this issue Sep 9, 2022 · 0 comments
Open

Appease type checker for converted None to default #417

mhostetter opened this issue Sep 9, 2022 · 0 comments
Labels
typing Related to type hints

Comments

@mhostetter
Copy link
Owner

The type checker isn't smart enough to understand a "if None, set to default" routine. See https://stackoverflow.com/a/68468805/11694321

Current

image

After

image

@mhostetter mhostetter added the typing Related to type hints label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typing Related to type hints
Projects
None yet
Development

No branches or pull requests

1 participant