call the method connection.introspection.sequence_list if reset_sequences is true, substitute the result for seqs, if not, seqs is an empty tuple.
seqs = connection . introspection . sequence_list ( ) if reset_sequences else ( )