#NEWLINE# @ staticmethod #NEWLINE# def find_options( id_survey ) : #NEWLINE# #INDENT# result = None #NEWLINE# options = DbCore . session . query ( Option ) . filter_by ( id_survey = id_survey ) . all ( ) #NEWLINE# for option in options : #NEWLINE# #INDENT# if ( result is None ) : #NEWLINE# #INDENT# result = '' #NEWLINE# #UNINDENT# result = '{}\n{}-{}' . format ( result , option . id , result . option ) #NEWLINE# #UNINDENT# return result