Replace Event.isSet() with Event.is_set()
ProprietaryReplace isSet() method calls with is_set(). The camelCase version was deprecated in Python 3.10. Only fires where the receiver's type resolves to threading.Event or a subclass.
org. openrewrite. python. migrate. ReplaceEventIsSetmod run . --recipe= org. openrewrite. python. migrate. ReplaceEventIsSetInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.