def _update_transaction_id(object_model, id_list=None):
    if id_list is not None:
        trans = flask.current_app.transactions[object_model]
        trans_time = time.time()
        lock_name = '%s-txid' % object_model

        utility.lock_acquire(lock_name)

        try:
            while trans_time in trans:
                trans_time += 0.000001

            trans[trans_time] = set(id_list)
        except:
            utility.lock_release(lock_name)
            raise

        utility.lock_release(lock_name)

        # prune any updates > 5 min ago
        trans_time_past = trans_time - (60 * 5)
        for k in [x for x in trans.keys() if x < trans_time_past]:
            del trans[k]

        semaphore_name = '%s-changes' % object_model
        utility.notify(semaphore_name)
Return the version of the request for this server.
dataset/ETHPy150Open rcbops/opencenter/opencenter/webapp/generic.py/_update_transaction_id--crossover with--dataset/ETHPy150Open ibagrak/algae/gae/libs/oauth2/__init__.py/Server._get_version