Replace Thread.setDaemon() with Thread.daemon = ...
ProprietaryReplace setDaemon() method calls with daemon property assignment. Deprecated in Python 3.10. Only fires where the receiver's type resolves to threading.Thread or a subclass, and only on a call that is its own statement and passes its value positionally.
org. openrewrite. python. migrate. ReplaceThreadSetDaemonmod run . --recipe= org. openrewrite. python. migrate. ReplaceThreadSetDaemonInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.