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
TaskGraph
Task
This will require implementing the __reduce__ method for these objects: https://docs.python.org/3/library/pickle.html#object.__reduce__
__reduce__
Note this feasible since TaskGraph can share the same database.
The tricky issue, if addressed, will be how to lock or detect duplicate submitted tasks in separate TaskGraph objects.
Currently TaskGraph stores some global state, it may be worth offloading that state exclusively to its database.
The text was updated successfully, but these errors were encountered:
Interesting! Out of curiosity, what's the use case for this? Allowing TaskGraph objects to be returned from a Task?
Sorry, something went wrong.
Two things:
add_task
get
richpsharp
No branches or pull requests
This will require implementing the
__reduce__
method for these objects: https://docs.python.org/3/library/pickle.html#object.__reduce__Note this feasible since
TaskGraph
can share the same database.The tricky issue, if addressed, will be how to lock or detect duplicate submitted tasks in separate TaskGraph objects.
Currently TaskGraph stores some global state, it may be worth offloading that state exclusively to its database.
The text was updated successfully, but these errors were encountered: