| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This is a more suitable alternative to #1604 as it keeps the from __future__ import annotations line a the top of main.py, thus keeping python 3.9 support. |
Sorry, something went wrong.
There was a problem hiding this comment.
This fixes the issue and solution looks good to me.
To reproduce the issue, create main.py with:
# pyright: strict
from sqlmodel import FieldAnd run:
pip install pyright
pyright main.py@mpyuglgwkxcmodyrpo, thanks!
Sorry, something went wrong.
|
That's awesome! I hope the version with these changes gets released soon. |
Sorry, something went wrong.
|
@tiangolo @YuriiMotov I'm wondering when this PR will be added to the release. |
Sorry, something went wrong.
|
This pull request has a merge conflict that needs to be resolved. |
Sorry, something went wrong.
|
I have confirmed that the issue has been resolved in the newly released 0.0.31 version. Thank you. |
Sorry, something went wrong.
Thanks! @mpyuglgwkxcmodyrpo, thank you for your efforts! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
See #1598 for discussion. I wanted to see if this would pass tests across the matrix (don't see why they wouldn't).
I think this only applies to pyright in strict mode.
I can't edit lables, so someone should add the bug label or whatever else is relevant.