def add_user(name): kwargs = { 'name': name, 'password': '******', 'description': 'luzhiyuan' } UserORM.add_user(kwargs)
def update_user(name): kwargs = { 'name': 'luzy', 'password': '******', 'description': 'FNST' } UserORM.update_user(name, kwargs)
def delete_user(name): UserORM.delete_user(name)
def get_user(name): print UserORM.get_user(name)