#NEWLINE# @ api_endpoint #NEWLINE# def collections( self , * params ) : #NEWLINE# #INDENT# 'Return list of collections for this publication.' #NEWLINE# return sorted ( set ( ( ( ( hasattr ( qs , 'model' ) and model_name ( self . model ) ) or qs [ 1 ] ) for qs in self . get_queries ( False , * params ) ) ) )