Skip to content

Calls across files (i.e. imports) in Python are not being captured #9

Description

@shobrook

Hi, thanks for making this! There are very few open-source packages out there purporting to statically generate call graphs for different languages.

I tried this on a Python repository but for any function that was defined in one file, then imported + called in another, no edge would be captured. Also fails when the function is aliased during the import (i.e. from X import Y as Z) and it fails if the function is imported into an __init__ file, then imported again from the package containing that __init__ file. So it also can't handle "multi-hop imports."

Is this a known issue? Thank you.

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions