#NEWLINE# def get_links( self , request ) : #NEWLINE# #INDENT# uri = request . build_absolute_uri #NEWLINE# links = { #NEWLINE# #INDENT# 'self' : uri ( reverse ( 'serrano:root' ) ) , #NEWLINE# 'categories' : uri ( reverse ( 'serrano:categories' ) ) , #NEWLINE# 'fields' : uri ( reverse ( 'serrano:fields' ) ) , #NEWLINE# 'concepts' : uri ( reverse ( 'serrano:concepts' ) ) , #NEWLINE# 'contexts' : uri ( reverse ( 'serrano:contexts:active' ) ) , #NEWLINE# 'views' : uri ( reverse ( 'serrano:views:active' ) ) , #NEWLINE# 'queries' : uri ( reverse ( 'serrano:queries:active' ) ) , #NEWLINE# 'public_queries' : uri ( reverse ( 'serrano:queries:public' ) ) , #NEWLINE# 'async_preview' : uri ( reverse ( 'serrano:async:preview' ) ) , #NEWLINE# 'preview' : uri ( reverse ( 'serrano:data:preview' ) ) , #NEWLINE# 'async_exporter' : uri ( reverse ( 'serrano:async:exporter' ) ) , #NEWLINE# 'exporter' : uri ( reverse ( 'serrano:data:exporter' ) ) , #NEWLINE# 'ping' : uri ( reverse ( 'serrano:ping' ) ) , #NEWLINE# 'stats' : uri ( reverse ( 'serrano:stats:root' ) ) , #NEWLINE# #UNINDENT# } #NEWLINE# if dep_supported ( 'objectset' ) : #NEWLINE# #INDENT# links [ 'sets' ] = uri ( reverse ( 'serrano:sets:root' ) ) #NEWLINE# #UNINDENT# return self