Replace Thread.isAlive() with Thread.is_alive()
Recipe ID
org.openrewrite.python.migrate.ReplaceThreadIsAliveArtifactopenrewrite-migrate-pythonReplace isAlive() method calls with is_alive(). Deprecated in Python 3.1 and removed in 3.9.
Single recipepythonmigrationthreading3.9Proprietary
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.ReplaceThreadIsAliveIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python