Ask a question to get started
Enter to send•Shift+Enter new line
Store intermediate writes linked to a checkpoint.
This method saves intermediate writes associated with a checkpoint to the SQLite database.
put_writes( self, config: RunnableConfig, writes: Sequence[tuple[str, Any]], task_id: str, task_path: str = '' ) -> None
config
RunnableConfig
Configuration of the related checkpoint.
writes
Sequence[tuple[str, Any]]
List of writes to store, each as (channel, value) pair.
task_id
str
Identifier for the task creating the writes.
task_path
''
Path of the task creating the writes.