|
@@ -86,7 +86,7 @@ class _JobManager(_Manager[Job], _VersionMixin):
|
|
return max(jobs_of_task)
|
|
return max(jobs_of_task)
|
|
|
|
|
|
@classmethod
|
|
@classmethod
|
|
- def _is_deletable(cls, job: Union[Job, JobId]) -> bool: # type: ignore
|
|
|
|
|
|
+ def _is_deletable(cls, job: Union[Job, JobId]) -> bool:
|
|
if isinstance(job, str):
|
|
if isinstance(job, str):
|
|
job = cls._get(job)
|
|
job = cls._get(job)
|
|
if not job.is_finished():
|
|
if not job.is_finished():
|