Skip to content

Commit aa8fe3a

Browse files
5enxiaCopilot
andauthored
Update libs/langgraph-checkpoint-aws/langgraph_checkpoint_aws/store/dynamodb/base.py
Co-authored-by: Copilot <[email protected]>
1 parent 2732002 commit aa8fe3a

File tree

1 file changed

+2
-2
lines changed
  • libs/langgraph-checkpoint-aws/langgraph_checkpoint_aws/store/dynamodb

1 file changed

+2
-2
lines changed

libs/langgraph-checkpoint-aws/langgraph_checkpoint_aws/store/dynamodb/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,10 +633,10 @@ def _refresh_ttl(self, pk: str, sk: str) -> None:
633633
pk: Partition key.
634634
sk: Sort key.
635635
"""
636-
if not self.ttl_config or not self.ttl_config.get("refresh_on_read"):
636+
if not self.ttl_config or not self.ttl_config.refresh_on_read:
637637
return
638638

639-
default_ttl = self.ttl_config.get("default_ttl")
639+
default_ttl = self.ttl_config.default_ttl
640640
if default_ttl is None:
641641
return
642642

0 commit comments

Comments
 (0)