@commentable
    def add(self):
        stmts = []
        tblspc = ''
        if hasattr(self, 'tablespace'):
            tblspc = " USING INDEX TABLESPACE %s" % self.tablespace
        stmts.append("ALTER TABLE %s ADD CONSTRAINT %s %s (%s)%s" % (
                     self._table.qualname(), quote_id(self.name),
                     self.objtype, self.key_columns(), tblspc))
        if hasattr(self, 'cluster') and self.cluster:
            stmts.append("CLUSTER %s USING %s" % (
                self._table.qualname(), quote_id(self.name)))
        return stmts
Create the message object.
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/constraint.py/Constraint.add--crossover with--dataset/ETHPy150Open jbalogh/glow/vendor/lib/python/babel/messages/catalog.py/Message.__init__