Beispiel #1
0
def apps_list(user_id):
    list = []
    apps = EnkiModelApp.fetch_by_user_id(user_id)
    for app in apps:
        list.append(
            [app.name,
             str(app.key.id()), app.secret, app.time_created])
    return list
Beispiel #2
0
def apps_list( user_id ):
	list = []
	apps = EnkiModelApp.fetch_by_user_id( user_id )
	for app in apps:
		list.append([ app.name, str( app.key.id()), app.secret, app.time_created ])
	return list