code: def delete(self):
          
          try:
              if self.exists() is False:
                  return None
              self.db.session.delete(self)
              self.db.session.commit()
          except (Exception, BaseException) as error:
              # fail silently
              return None
docs: Easy delete for db models