Skip to content

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

@MatthijsBurgh

Description

@MatthijsBurgh

(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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions