Nuno Campos
e338a4ec98
Fix filtering on ns
2024-08-27 16:09:11 -07:00
Nuno Campos
330c91f622
Update ruff
2024-08-27 10:50:39 -07:00
vbarda
85e698e20b
filter on checkpoint NS
2024-08-26 19:26:35 -04:00
Vadym Barda and GitHub
4c4d7054ab
Merge branch 'main' into vb/update-get-state
2024-08-23 14:27:40 -04:00
vbarda
4162be8119
optimize subgraph state lookups
2024-08-22 20:35:08 -04:00
Nuno Campos and GitHub
7e32de9405
Remove current_tasks from checkpoint interface ( #1440 )
...
* Remove current_tasks from checkpoint interface
- Not used, now clear that it can be supported with put_writes(SCHEDULE)
* Add comment
2024-08-22 19:44:26 +00:00
vbarda
5654d8fc86
Merge branch 'main' into vb/update-get-state
2024-08-22 15:34:14 -04:00
Nuno Campos and GitHub
a261e1a497
Fix semantics of put_writes/list ( #1436 )
...
* Fix semantics of put_writes/list
- put_writes(error) should not prevent saving future successful if task is retried successfully
- put_writes(writes) should be a no-op if non-error writes already exist for that task (this prevents tasks executed more than once from modifying writes previously saved / acted on)
- checkpoints should not include channel default values (ie those without a version)
- list() should fetch and return writes for each checkpoint
* Lint
* Rm print
* Fix import
* Lint
2024-08-22 19:04:42 +00:00
vbarda
f51e7ea9a4
pass pending writes in checkpointers
2024-08-21 15:38:30 -04:00
vbarda
a94168af7f
Merge branch 'main' into vb/update-get-state
2024-08-21 15:07:52 -04:00
Nuno Campos
7aaeedd7ba
checkpoint-*: In put_writes clear any previously saved writes for this task_id
...
- Previously implementations were clearing only tasks if the index matched a previously saved one, which isn't enough to guarantee idempotency
2024-08-19 15:40:04 -07:00
vbarda
5033044587
update checkpointer tests
2024-08-12 16:22:27 -04:00
vbarda
fb05bdc2bf
return all checkpoints from .list
2024-08-12 15:52:17 -04:00
Vadym Barda and GitHub
71ce07d971
checkpoint: update docstrings for checkpoint libraries ( #1277 )
2024-08-08 16:26:16 +00:00
Vadym Barda and GitHub
d9adebed84
checkpoint-sqlite: release 1.0.0 ( #1244 )
2024-08-06 22:43:35 -04:00
b37f78942d
checkpoint-postgres: new library for postgres checkpointer implementation ( #1236 )
...
* checkpoint-postgres: new library for postgres checkpointer implementation
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-06 22:37:06 -04:00
vbarda
64c30508d9
checkpoint-sqlite: stop using checkpointers as context managers, use contextmanager only in from_conn_string
2024-08-05 16:20:16 -04:00
vbarda
2370db0f8c
order
2024-08-02 19:08:16 -04:00
vbarda
1b353aed73
checkpoint-sqlite: add checkpoint dependency
2024-08-02 19:06:38 -04:00
Vadym Barda and GitHub
c149a99b44
checkpoint-sqlite: new library for sqlite checkpointer implementation ( #1203 )
...
* checkpoint-sqlite: new library for sqlite checkpointer implementation
2024-08-02 22:14:12 +00:00