mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 12:35:08 +02:00
docs: update notebook links and add archival notices for examples (#6720)
Addresses some comments in #6682 - Update links in notebooks to point to the new documentation location. - Add archival notices indicating that the examples are no longer updated. - Remove some obsolete notebooks that have been moved to the new documentation. Please comment here if you encounter any issues
This commit is contained in:
@@ -61,18 +61,22 @@ __all__ = (
|
||||
|
||||
Durability = Literal["sync", "async", "exit"]
|
||||
"""Durability mode for the graph execution.
|
||||
- `"sync"`: Changes are persisted synchronously before the next step starts.
|
||||
- `"async"`: Changes are persisted asynchronously while the next step executes.
|
||||
- `"exit"`: Changes are persisted only when the graph exits."""
|
||||
|
||||
- `'sync'`: Changes are persisted synchronously before the next step starts.
|
||||
- `'async'`: Changes are persisted asynchronously while the next step executes.
|
||||
- `'exit'`: Changes are persisted only when the graph exits.
|
||||
"""
|
||||
|
||||
All = Literal["*"]
|
||||
"""Special value to indicate that graph should interrupt on all nodes."""
|
||||
|
||||
Checkpointer = None | bool | BaseCheckpointSaver
|
||||
"""Type of the checkpointer to use for a subgraph.
|
||||
- True enables persistent checkpointing for this subgraph.
|
||||
- False disables checkpointing, even if the parent graph has a checkpointer.
|
||||
- None inherits checkpointer from the parent graph."""
|
||||
|
||||
- `True` enables persistent checkpointing for this subgraph.
|
||||
- `False` disables checkpointing, even if the parent graph has a checkpointer.
|
||||
- `None` inherits checkpointer from the parent graph.
|
||||
"""
|
||||
|
||||
|
||||
def ensure_valid_checkpointer(checkpointer: Checkpointer) -> Checkpointer:
|
||||
|
||||
Reference in New Issue
Block a user