Is your feature request related to a problem? Please describe.
LibCST 0.3.18 added a FullyQualifiedNameProvider
which seems like it could help us simplify our checks for imported symbols:
https://libcst.readthedocs.io/en/latest/metadata.html#libcst.metadata.FullyQualifiedNameProvider
Describe the solution you'd like
https://github.com/browniebroke/django-codemod/blob/main/django_codemod/visitors/base.py
Especially, the code from BaseRenameTransformer.leave_ImportFrom
seems like a good candidate.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too