diff --git a/langgraph/pregel/types.py b/langgraph/pregel/types.py index 2b778f148..a3826314a 100644 --- a/langgraph/pregel/types.py +++ b/langgraph/pregel/types.py @@ -27,9 +27,9 @@ class StateSnapshot(NamedTuple): """Nodes to execute in the next step, if any""" config: RunnableConfig """Config used to fetch this snapshot""" - metadata: CheckpointMetadata + metadata: Optional[CheckpointMetadata] """Metadata associated with this snapshot""" - created_at: str + created_at: Optional[str] """Timestamp of snapshot creation""" parent_config: Optional[RunnableConfig] = None """Config used to fetch the parent snapshot, if any"""