You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support inheritance detection in Python Extractor (#175)
* test(python): cover canonical inheritance targets
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(python): resolve inheritance targets canonically
This is the resolution of the bug that inheritance in Python was not
resolved to an "implements" edge.
The fix adds a post-processing step to the Python extractor:
+ Collect all parsed symbols and index them by short class name.
+ Resolve unambiguous inheritance targets to fully qualified symbols.
+ Preserve ambiguous targets unchanged to avoid incorrect edges.
* fix(python): use imports to resolve inheritance bases
Resolving ambiguous symbol names during inheritance detection by taking
the import context into account.
* fix(python): preserve inheritance fact compatibility
Fixing regression in the golden test.
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments