Replace cgi.parse_qs() with urllib.parse.parse_qs()
Recipe ID
org.openrewrite.python.migrate.ReplaceCgiParseQsArtifactopenrewrite-migrate-pythoncgi.parse_qs() was removed in Python 3.8. Use urllib.parse.parse_qs() 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.ReplaceCgiParseQsIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python