-
Notifications
You must be signed in to change notification settings - Fork 92
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
Unable to chain remove_argument() #126
Comments
As a note, I worked around the issue by running one pass removing one argument and updating the file. Then running another pass to remove the second argument. Also, this program was very useful in some refactoring work I had to do 👍 |
If you have a more complete repro I can probably suggest other workarounds. Otherwise, doing it multiple phases would be my go-to. |
@JohnVillalovos do you by chance have a more complete repro yet? |
Actually, it would be nice to provide an example, my code is failing with this one:
Where can I specify it? Could you please provide the usage example? Thank you! |
@azachar I'm pretty sure your issue is just docs:
instead of a string name, you have to import it first. See example at https://gist.github.com/thatch/bb61a25c470d24934f7d4cf35da40f51 |
Using latest version from git as of today.
When trying to chain two remove_argument() functions I get the following error:
The text was updated successfully, but these errors were encountered: