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
Weird bug that my english is not enough to describe this. #8777
Comments
I know that I can just fix this by adding alias but come on. Writing Stash everywhere would be hella cool to do. |
Right - we implemented this warning here: #8243, so this behavior is expected and intentional. A field name can't be the same as the type used for the field. Using an |
Duplicate of #8240 |
but come oooon, think how cool it would be to do without alias @sydney-runkle |
See an in depth explanation of this issue here: #7327 |
everyone is against the cool things :( jokes aside, thanks for reply and references. |
Initial Checks
Description
so please fix the title after you got what I am saying
Example Code
okay you see that stash? It is all okay. In the current state. Pyright doesnt bitch about anything, I can actually use this class.
lets dive into my mind for the past 1 hour
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: