def METHOD_NAME(self) -> Iterator[AtomicWriteBatchAPI]:
    with self.db.write_batch(transaction=True) as METHOD_NAME:
        readable_batch = LevelDBWriteBatch(self, METHOD_NAME)
        try:
            yield readable_batch
        finally:
            readable_batch.decommission()