Replace typing.Text with str

Proprietary

typing.Text is deprecated as of Python 3.11. It was an alias for str for Python 2/3 compatibility. Replace with str.

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

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