- def delete(self, session, _id, force=False, dry_run=False):
- """
- Delete item by its internal _id
- :param session: contains the used login username, working project, and admin rights
- :param _id: server internal id
- :param force: indicates if deletion must be forced in case of conflict
- :param dry_run: make checking but do not delete
- :return: dictionary with deleted item _id. It raises EngineException on error: not found, conflict, ...
- """
- # TODO add admin to filter, validate rights
- BaseTopic.delete(self, session, _id, force, dry_run=True)
- if dry_run:
- return
-