feat: add checkpoint postgresql#262
feat: add checkpoint postgresql#262carloszuag wants to merge 13 commits intogoogleapis:langgraph-basefrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
requirements.txt
Outdated
| aiohttp~=3.11.11 | ||
| asyncpg~=0.30.0 | ||
| langgraph~=0.2.68 | ||
| pytest~=8.3.4 | ||
| pytest-asyncio~=0.25.2 No newline at end of file |
There was a problem hiding this comment.
Please remove these dependencies. The test dependencies are defined in the pyproejct.toml. We will only need to keep langgraph-checkpoint so we can test against it.
| self.schema_name = schema_name | ||
|
|
||
| @classmethod | ||
| async def create( |
There was a problem hiding this comment.
Create will also have to support a custom table name for the tests to work
| } | ||
| } | ||
|
|
||
| query = f"""INSERT INTO "{self.schema_name}".{CHECKPOINTS_TABLE}(thread_id, checkpoint_ns, checkpoint_id, parent_checkpoint_id, checkpoint, metadata) |
There was a problem hiding this comment.
Add quotes around table name
|
Closing in favor of #269 |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕