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

Question: chidlren's key is covered by the parent's same key #29234

Open
guochaoqun1998 opened this issue Jan 15, 2025 · 1 comment
Open

Question: chidlren's key is covered by the parent's same key #29234

guochaoqun1998 opened this issue Jan 15, 2025 · 1 comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@guochaoqun1998
Copy link

for cls in [None, *self.class.mro()]:

values of the same key in children will be covered by the parent's same key. It is intendedly designed or a bug? I think it's not reasonable.

@guochaoqun1998
Copy link
Author

for cls in [None, *self.__class__.mro()]:

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant