MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / forget

Method forget

crates/pyhq/python/hyperqueue/client.py:111–119  ·  view source on GitHub ↗

Forget a completed job to free up its resources from the server. :param job: Submitted job (or job ID) that will be forgotten.

(self, job: HasJobId)

Source from the content-addressed store, hash-verified

109 return result[job.id]
110
111 def forget(self, job: HasJobId):
112 """
113 Forget a completed job to free up its resources from the server.
114
115 :param job: Submitted job (or job ID) that will be forgotten.
116 """
117 job_id = get_job_id(job)
118 self.connection.forget_job(job_id)
119 logging.info(f"Forgotten job {job_id}")
120
121
122def create_progress_callback():

Callers 2

test_job_forgetFunction · 0.80
test_job_forget_runningFunction · 0.80

Calls 3

get_job_idFunction · 0.85
infoMethod · 0.80
forget_jobMethod · 0.45

Tested by 2

test_job_forgetFunction · 0.64
test_job_forget_runningFunction · 0.64