def update_password(uid, password):

    db = api.common.get_conn()
    db.users.update({'uid': uid}, {'$set': {'password_hash': hash_password(password)}})
Load the suff stats stored in memory for provided batchID
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/user.py/update_password--crossover with--dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/learnalg/MemoizedOnlineVBLearnAlg.py/MemoizedOnlineVBLearnAlg.load_batch_suff_stat_from_memory