We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if we put this DaskManager().compute(res_compare) where res_compare is a append list of task that can't work !
The text was updated successfully, but these errors were encountered:
If the list to append to isn't thread save or a distributed structure, surely. Did you see that in the repo somewhere?
Sorry, something went wrong.
`class DaskManager(metaclass=Singleton): def init(self): self.client = Client(f'{settings.DASK_SCHEDULER_HOST}:{settings.DASK_SCHEDULER_PORT}')
def compute(self, graph): future = self.client.compute(graph) future.add_done_callback(self.task_complete) dask_task = DaskTask.objects.create(task_key=future.key) return dask_task`
Here compute work but crash on call to add_done_callback because future can be a list[Future]
No branches or pull requests
if we put this DaskManager().compute(res_compare) where res_compare is a append list of task that can't work !
The text was updated successfully, but these errors were encountered: