code: def clear_jobs(self, recursive=True):
          
          if recursive:
              for link in self._links.values():
                  link.clear_jobs(recursive)
          self.jobs.clear()
docs: Clear a dictionary with all the jobs
  
          If recursive is True this will include jobs from all internal `Link`