docs: def delete_project(self, project):
          """ Called when project is deleted. """
          pid = project.pid
  
          # project deleted
  
          ds_project = self.get_project(pid)
          if ds_project is not None:
              self._delete_project(pid)
  
          return