Skip to content

Full name not resolved correctly for class not imported from real source #310

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

Open
MatthijsBurgh opened this issue Oct 19, 2021 · 0 comments

Comments

@MatthijsBurgh
Copy link
Contributor

MatthijsBurgh commented Oct 19, 2021

(Please let me know if the title could be improved)

I have a class C defined in submodule B of module A, so full python name would be A.B.C. But the class is imported in the __init__.py of A, thus exposed from the module A. And it is imported from there by other packages.

Autoapi does only resolve the name to A.C, this causes that cross-reference from other packages don't work. As in the objects.inv A.C is not available, only A.B.C.

Is there anyway this could be solved?

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

No branches or pull requests

2 participants