Find deprecated urllib.parse.to_bytes() usage

Proprietary

Find usage of urllib.parse.to_bytes() which was deprecated in Python 3.8. Use str.encode() directly.

org.openrewrite.python.migrate.FindUrllibParseToBytes
mod run . --recipe=org.openrewrite.python.migrate.FindUrllibParseToBytes

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.