Skip to content
Discussion options

You must be logged in to vote

@smanna123 it looks like you're using SqliteSaver.from_conn_string() as a checkpointer, but it actually is a context manager. the right way to use it is

with SqliteSaver.from_conn_string(...) as checkpointer:
    app = graph.compile(checkpointer=checkpointer)
    app.invoke(...)

hope this helps!

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
8 replies
@trex55
Comment options

@Vineetk20-git
Comment options

@koNoJOJOga
Comment options

@koNoJOJOga
Comment options

@jasdeep06
Comment options

Answer selected by nfcampos
Comment options

You must be logged in to vote
3 replies
@vbarda
Comment options

@Saifullah3711
Comment options

@trex55
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@anandbhaskaran
Comment options

@BrutalCaeser
Comment options

Comment options

You must be logged in to vote
2 replies
@vbarda
Comment options

@nafshar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet