@must_have_addon(SHORT_NAME, 'node')
@must_be_addon_authorizer(SHORT_NAME)
def googledrive_folder_list(node_addon, **kwargs):
 path = request.args.get('path', '')
 folder_id = request.args.get('folder_id', 'root')
 return node_addon.get_folders(folder_path=path, folder_id=folder_id)

@ must_have_addon ( SHORT_NAME , 'node' ) @ must_be_addon_authorizer ( SHORT_NAME ) def googledrive_folder_list ( node_addon , ** kwargs ) : path = request . args . get ( 'path' , '' ) folder_id = request . args . get ( 'folder_id' , 'root' ) return node_addon . get_folders ( folder_path = path , folder_id = folder_id )
returns all the subsequent folders under the folder id passed .