AsyncPostgresSaver with interrupts in Python 3.10 seems to be broken #3200
Replies: 1 comment
-
Yes - most async work in langgraph requires >=3.11 - tasks don't propagate context correctly prior to that, unfortunately |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a graph that takes human input and uses the asynchronous PostgreSQL checkpointer. However, I couldn't make it work in my usual Python 3.10 environment. I keep getting the following error:
After some research, I found a few posts discussing the differences between psycopg2 and psycopg, and others mentioning compatibility issues. Consequently, I tried using Python 3.12, and then it worked. Here is the code:
I tried the same with synchronous client, that one worked both on 3.10 and 3.12:
I am using ubuntu WSL with:
Beta Was this translation helpful? Give feedback.
All reactions