Delete method argument
Recipe ID
org.openrewrite.python.DeleteMethodArgumentArtifactopenrewriteRemove an argument from method invocations matching a pattern.
Composite recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.python.DeleteMethodArgumentIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewriteDefinition
This recipe runs the following recipes in order.
- org.openrewrite.java.DeleteMethodArgument
org.openrewrite.java.DeleteMethodArgument