← All recipes
Moderne licensed

Replace Condition.notifyAll() with Condition.notify_all()

Recipe IDorg.openrewrite.python.migrate.ReplaceConditionNotifyAllArtifactopenrewrite-migrate-python

Replace notifyAll() method calls with notify_all(). The camelCase version was deprecated in Python 3.10 and removed in 3.12.

Single recipepythonmigrationthreading3.123.10Proprietary

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.ReplaceConditionNotifyAll

If the recipe isn’t available locally, install it with:

mod config recipes pip install openrewrite-migrate-python