Replace cgi.parse_qsl() with urllib.parse.parse_qsl()
Recipe ID
org.openrewrite.python.migrate.ReplaceCgiParseQslArtifactopenrewrite-migrate-pythoncgi.parse_qsl() was removed in Python 3.8. Use urllib.parse.parse_qsl() instead. Note: this rewrites call sites but does not manage imports. Use with ChangeImport in a composite recipe to update from imports.
Single recipepythoncgimigration3.8Proprietary
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.migrate.ReplaceCgiParseQslIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python