コード例 #1
0
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)
コード例 #2
0
ファイル: views.py プロジェクト: joehand/handAPI
def index():
    return jsonify(user=current_user.to_dict())
コード例 #3
0
ファイル: views.py プロジェクト: joehand/handAPI
def clear():
    current_user.services = None
    current_user.save()
    return jsonify(user=current_user.to_dict())
コード例 #4
0
ファイル: api.py プロジェクト: PowerDNS/pdnscontrol
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)