@app.get('/dossier/v1/folder', json=True)
def v1_folder_list(request, kvlclient):
    return sorted(imap(attrgetter('name'),
                       ifilter(lambda it: it.is_folder(),
                               new_folders(kvlclient, request).list('/'))))
Retrieves a list of folders for the current user.
dataset/ETHPy150Open dossier/dossier.web/dossier/web/routes.py/v1_folder_list