

def __exit__(self, exc_type, exc_val, exc_tb):
    for lock in self.locks:
        if lock:
            release_lock(lock, True)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/casedb_base.py AbstractCaseDbCache.__exit__/original