Replies: 3 comments 8 replies
-
|
There is E.g.: job_id = client.submit(job)
client.wait_for_jobs([job_id]) |
Beta Was this translation helpful? Give feedback.
-
|
It is currently not possible to wait for the completion of individual/specific tasks within a job though. We could add it if you have a use-case :) |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Sorry to add to an old post here but I think I do have a use case for this. Consider the following prototype code that I have working: But what my application really needs would be something like: You can see that by polling individual jobs for their status (maybe I should be using tasks for this?) I could do two essential things:
I don't think this kind of freedom is available through task dependencies, but I could be wrong. I think my imaginary get_status(job) function is something like a wrapper around what would be, in the cli,
right? What do you thinks the odds are of something like this functionality being added soon or at all? I could potentially help with contributions. Many thanks for any feedback. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a general question. In our Python framework that manages and executes dynamic task graphs, I would like to utilize hyperqueue for submission of tasks. Is it possible to receive some callback whether a job I submitted has been completed, so that potential new jobs can be started?
Beta Was this translation helpful? Give feedback.
All reactions