#NEWLINE# def GetFieldValuesTuple( self , trip_id ) : #NEWLINE# #INDENT# 'Return a tuple that outputs a row of _FIELD_NAMES to be written to a\n       GTFS file.\n\n    Arguments:\n        trip_id: The trip_id of the trip to which this StopTime corresponds.\n                 It must be provided, as it is not stored in StopTime.\n    ' #NEWLINE# result = [ ] #NEWLINE# for fn in self . _FIELD_NAMES : #NEWLINE# #INDENT# if ( fn == 'trip_id' ) : #NEWLINE# #INDENT# result . append ( trip_id ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result . append ( ( getattr ( self , fn ) or '' ) ) #NEWLINE# #UNINDENT# #UNINDENT# return tuple ( result )