← All recipes
Moderne licensed

Find removed sys.set_coroutine_wrapper() / sys.get_coroutine_wrapper()

Recipe IDorg.openrewrite.python.migrate.FindSysCoroutineWrapperArtifactopenrewrite-migrate-python

sys.set_coroutine_wrapper() and sys.get_coroutine_wrapper() were deprecated in Python 3.7 and removed in Python 3.8.

Single recipepythonmigrationsys3.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.FindSysCoroutineWrapper

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

mod config recipes pip install openrewrite-migrate-python