-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
When the graph includes an async BaseCheckpointSaver
and uses get_state_history
, the program hangs
#2992
Comments
Thanks for flagging - fixed here #3019 |
I haven't tried |
Good call -- will update that one as well. In the meantime, Sqlite/Postgres are released, so closing the issue |
Thank you 😊 |
Huh, I am getting the same with async postgres... this hangs, all on latest versions. This works, however:
Interestingly, after I do this, it kinda kills the whole checkpointer - getting state also hangs, even though it works before calling this (same for that |
hm, I would double-check in fresh virtual environment with the latest versions -- the above code is supposed to raise an error |
And it did not raise anything? Feel free to ignore me, might be me... |
Checked other resources
Example Code
Description
When using a graph with async checkpointer(sqlite / postgres) and calling sync method
get_state_history
, the program blocks and cannot continue running.I expect the sync method to either throw a
NotImplementedError
exception or continue running, but without leveraging the benefits of async.System Info
System Information
Package Information
The text was updated successfully, but these errors were encountered: