

def _notify_elements(self, elements):
    with self.pending_elements_condition:
        for element in elements:
            if (element in self.pending_elements):
                self.pending_elements.remove(self)
        self.pending_elements_condition.notify_all()

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/scheduler_transactions_synchronizer.py SchedulerTransactionsSynchronizer._notify_elements/VarMisuse@43/53 `element`->`self`