Skip to content

Indirect imports not supported #524

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions