def save(self):
        """Saves the updated model to the current entity db.
        """
        self.session.add(self)
        self.session.flush()
        return self
def save ( self ) : self . session . add ( self ) self . session . flush ( ) return self
Saves the updated model to the current entity db.