code: def insert_many(self, items):
      
      return SessionContext.session.execute(
          self.insert(values=[
              to_dict(item, self.c)
              for item in items
          ]),
      ).rowcount
docs: Insert many items at once into a temporary table.