Skip to content

Indirect imports not supported #524

Open
@cdleonard

Description

@cdleonard

If you import something in multiple steps you get an error like "WARNING: Cannot resolve import of $BLAH in $BAR [autoapi.python_import_resolution]". More specifically I'm refering to a scenario like this:

mypack.mod1:

from pathlib import Path

mypack.mod2:

from .mod1 import Path

This is arguably a bad practice and some linters complain about it but it would be nice if it worked.

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