@with_session
def forget_by_id(entry_id, session=None):
 entry = get_entry_by_id(entry_id, session=session)
 log.debug(u'Deleting seen entry with ID {0}'.format(entry_id))
 session.delete(entry)

@ with_session def forget_by_id ( entry_id , session = None ) : entry = get_entry_by_id ( entry_id , session = session ) log . debug ( u'Deleting seen entry with ID {0}' . format ( entry_id ) ) session . delete ( entry )
delete seenentry via its id .