#NEWLINE# def get_response_for_indicator( self , indicator ) : #NEWLINE# #INDENT# retrospective = indicator . get_monthly_retrospective ( user_ids = self . user_ids , is_debug = self . is_debug , num_previous_months = self . num_prev , current_month = self . current_month ) #NEWLINE# if self . is_debug : #NEWLINE# #INDENT# for result in retrospective : #NEWLINE# #INDENT# result [ 'date' ] = result [ 'date' ] . strftime ( USER_MONTH_FORMAT ) #NEWLINE# #UNINDENT# return retrospective #NEWLINE# #UNINDENT# if isinstance ( indicator , CombinedCouchViewIndicatorDefinition ) : #NEWLINE# #INDENT# table = self . get_indicator_table ( retrospective ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# table = self . get_indicator_row ( retrospective ) #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'table' : table , #NEWLINE# #UNINDENT# }