docs: def delete(self, session, commit=True, soft=True):
          """
          Delete a row from the DB.
  
          :param session: flask_sqlalchemy session object
          :param commit: whether to issue the commit
          :param soft: whether this is a soft delete (i.e., update time_removed)
          """
          if soft:
              self.time_removed = sqlalchemy.func.unix_timestamp()
          else:
              session.delete(self)
  
          if commit:
              session.commit()