Skip to content
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

checkpoint postgres: allow passing custom serde #1699

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

vermapratyush
Copy link
Contributor

@vermapratyush vermapratyush commented Sep 12, 2024

Enhance AsyncPostgresSaver.from_conn_string constructor method to accept custom jsonserializer.

@vermapratyush vermapratyush marked this pull request as draft September 12, 2024 16:06
@vermapratyush vermapratyush marked this pull request as ready for review September 12, 2024 16:16
@vbarda
Copy link
Collaborator

vbarda commented Sep 12, 2024

@vermapratyush thank you for your contribution -- it's okay to pass custom serde, but the metadata serializer should remain jsonplus. could you please make the changes accordingly?

@vermapratyush vermapratyush force-pushed the serde-postgres-checkpoint branch from 2c32498 to 7be933f Compare September 12, 2024 16:39
@vbarda vbarda changed the title Use correct serde in postgres checkpoint checkpoint postgres: allow passing custom serde Sep 12, 2024
@vermapratyush vermapratyush force-pushed the serde-postgres-checkpoint branch from 4720c98 to fa9009a Compare September 12, 2024 16:54
@nfcampos nfcampos merged commit c3b4acf into langchain-ai:main Sep 13, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants