Skip to content
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

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

Open
shobrook opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@shobrook
Copy link

shobrook commented Oct 8, 2024

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.

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

No branches or pull requests

1 participant