Open anand2312 opened 11 months ago
You can find examples of using the additional_replacements
parameter of Rule
to add custom replacements.
https://unasync.readthedocs.io/en/latest/#usage-outside-of-setuptools
This should allow you to achieve what you're after.
Imports from the _async module seem to be unaffected:
gets converted to
Expected result:
Currently working around it by exporting both the classes from a common place, but it'd be nice to have this work.