code: def alter_partitions(self, db_name, tbl_name, new_parts):
      
      self.send_alter_partitions(db_name, tbl_name, new_parts)
      self.recv_alter_partitions()
docs: Parameters:
       - db_name
       - tbl_name
       - new_parts