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

langgraph: more checkpointer tests #1263

Merged
merged 7 commits into from
Aug 8, 2024
Merged

langgraph: more checkpointer tests #1263

merged 7 commits into from
Aug 8, 2024

Conversation

vbarda
Copy link
Collaborator

@vbarda vbarda commented Aug 7, 2024

No description provided.

@vbarda vbarda requested a review from nfcampos August 7, 2024 18:26
},
"pending_sends": [],
"current_tasks": {},
assert saved.checkpoint["channel_values"] == {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does this need to change?

Copy link
Collaborator Author

@vbarda vbarda Aug 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i removed because of the different version types/formats across different checkpointers, but i can also make something like AnyVersion that will just ignore those fields / customize memory saver for tests to return strings and use AnyStr. wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea I think that's better

@nfcampos nfcampos enabled auto-merge (squash) August 8, 2024 00:41
@nfcampos
Copy link
Contributor

nfcampos commented Aug 8, 2024

I think there's still a bunch of tests where we test a single checkpointer. The end goal here should be to remove the imports of MemorySaver and SqliteSaver from test_pregel and test_pregel_async

@nfcampos nfcampos merged commit a2f4d57 into main Aug 8, 2024
46 checks passed
@nfcampos nfcampos deleted the vb/more-lg-tests branch August 8, 2024 00:45
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.

2 participants