#NEWLINE# def soft_delete( self , session ) : #NEWLINE# #INDENT# 'Mark this object as deleted.' #NEWLINE# self . deleted = session . id #NEWLINE# self . deleted_at = timeutils . utcnow ( ) #NEWLINE# self . save ( session = session )