*/venv/lib/python3.12/site-packages/langgraph/checkpoint/postgres/aio.py:69: RuntimeWarning: coroutine 'AsyncCursor.fetchone' was never awaited
version = (
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Traceback (most recent call last):
File "*/bin/launchable/script", line 348, in <module>
asyncio.run(main())
File "*/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "*/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "*/.pyenv/versions/3.12.3/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "*/bin/launchable/script", line 343, in main
await checkpointer.setup()
File "*/venv/lib/python3.12/site-packages/langgraph/checkpoint/postgres/aio.py", line 69, in setup
version = (
^
TypeError: 'coroutine' object is not subscriptable
Description
I'm trying to use the new Postgre checkpointer and do the initial setup but I always get the same error.
Even using with a connection pool or a connection string.
System Info
System Information
OS: Darwin
OS Version: Darwin Kernel Version 23.5.0: Wed May 1 20:14:59 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8122
Python Version: 3.12.3 (main, Jun 5 2024, 17:17:50) [Clang 15.0.0 (clang-1500.3.9.4)]
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I'm trying to use the new Postgre checkpointer and do the initial setup but I always get the same error. Even using with a connection pool or a connection string.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies