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

Incorrect type resolving when alias name matches file name #2051

Open
konradweiss opened this issue Feb 18, 2025 · 0 comments
Open

Incorrect type resolving when alias name matches file name #2051

konradweiss opened this issue Feb 18, 2025 · 0 comments
Assignees

Comments

@konradweiss
Copy link
Collaborator

We encountered the case where the import alias used is the same as the name of the file and therefore the namespace. One Example:
File: openstack/cinder-25.0.0/cinder/objects/base.py

from oslo_versionedobjects import base
...
class ObjectListBase(base.ObjectListBase):

For now we prevent the creation of a harmfull loop in the type hierarchy. However, here we need to fix the underlying Issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants