Replace Thread.getName() with Thread.name
ProprietaryReplace getName() method calls with the name property. Deprecated in Python 3.10. Only fires where the receiver's type resolves to threading.Thread or a subclass.
org. openrewrite. python. migrate. ReplaceThreadGetNamemod run . --recipe= org. openrewrite. python. migrate. ReplaceThreadGetNameInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.