code: def close_compute_projects(self, compute):
          
          for project in self._projects.values():
              if compute in project.computes:
                  yield from project.close()
docs: Close projects running on a compute