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

Fix handling of python imports from directories #2315

Merged
merged 4 commits into from
Feb 27, 2023
Merged

Fix handling of python imports from directories #2315

merged 4 commits into from
Feb 27, 2023

Conversation

fabsx00
Copy link
Contributor

@fabsx00 fabsx00 commented Feb 27, 2023

Previously, import foo from bar was always interpreted to mean that an object called bar is imported from foo.py, while it could also mean that bar.py is imported from the module (directory) foo. With this PR, we attempt to detect whether that is is the case and fix the methodFullName generation accordingly.

@fabsx00 fabsx00 merged commit c86ad75 into master Feb 27, 2023
@max-leuthaeuser max-leuthaeuser deleted the fabs/flask1 branch March 16, 2023 10:39
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

Successfully merging this pull request may close these issues.

2 participants