def register_user(username, password):
    try:
        user = g.db.users.insert(username=username,
                                 password=generate_password_hash(password))
        g.db.commit()
        return user
    except Exception as ex:
        return None
Fetch all group permissions on a package
dataset/ETHPy150Open ferhensil/flask-example/main.py/register_user--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestConfigBackend.test_all_group_permissions