#NEWLINE# @ json_view ( permission = 'view_tender' ) #NEWLINE# def collection_get( self ) : #NEWLINE# #INDENT# 'Lots Listing\n        ' #NEWLINE# return { #NEWLINE# #INDENT# 'data' : [ i . serialize ( 'view' ) for i in self . request . validated [ 'tender' ] . lots ] , #NEWLINE# #UNINDENT# }