@must_be_contributor_or_public
@must_have_addon('github', 'node')
def github_root_folder(*args, **kwargs):
 node_settings = kwargs['node_addon']
 auth = kwargs['auth']
 data = request.args.to_dict()
 return github_hgrid_data(node_settings, auth=auth, **data)

@ must_be_contributor_or_public @ must_have_addon ( 'github' , 'node' ) def github_root_folder ( * args , ** kwargs ) : node_settings = kwargs [ 'node_addon' ] auth = kwargs [ 'auth' ] data = request . args . to_dict ( ) return github_hgrid_data ( node_settings , auth = auth , ** data )
view function returning the root container for a github repo .