(self)
return self.session.add(self)
Save the model by adding it to the :attr:`session`. If the
:attr:`session` is not available, it raises a :class:`SessionNotAvailable`
exception.
Save the model by adding it to the :attr:`session`. If the
:attr:`session` is not available, it raises a :class:`SessionNotAvailable`
exception.
Save the model by adding it to the : attr : session . If the : attr : session is not available it raises a : class : SessionNotAvailable exception .
def save(self):
        '''Save the model by adding it to the :attr:`session`. If the
:attr:`session` is not available, it raises a :class:`SessionNotAvailable`
exception.'''
        return self.session.add(self)
def save ( self ) : return self . session . add ( self )