it's common practice to use the implied line breaks of brackets instead of backslashes to wrap lines, e.g.

  sequences = self.session.execute("""
      # some SQL statement
  """)