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

pysrc2cpg: expand dynamic type hints based on imports #2327

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

fabsx00
Copy link
Contributor

@fabsx00 fabsx00 commented Mar 1, 2023

Previously, the dynamicTypeHintFullName wasn't a full name but just the symbol the parser picked up for the type hint. This new pass takes into account imports to resolve the type's full name.

@fabsx00 fabsx00 merged commit 94d69c7 into master Mar 1, 2023
@DavidBakerEffendi DavidBakerEffendi deleted the fabs/dynamictypehints branch March 1, 2023 12:05
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