Push driver task in core worker (#5752)

This commit is contained in:
Edward Oakes
2019-09-23 10:53:55 -05:00
committed by GitHub
parent 62bc30c1cf
commit 61e5d674be
5 changed files with 31 additions and 64 deletions
+3
View File
@@ -547,6 +547,9 @@ cdef class CoreWorker:
check_status(self.core_worker.get().Objects().Delete(
free_ids, local_only, delete_creating_tasks))
def get_current_task_id(self):
return TaskID(self.core_worker.get().GetCurrentTaskId().Binary())
def set_current_task_id(self, TaskID task_id):
cdef:
CTaskID c_task_id = task_id.native()