LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypesdata_plane_update_paramsTtl
Class●Since v0.16

Ttl

Copy
Ttl()

Bases

TypedDict

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
enabledbool
long_daysint
short_daysint
attribute
enabled: bool

Enabled turns blob retention on or off. Keeps its value when omitted.

attribute
long_days: int

LongDays is the long blob retention period in days.

Must be greater than zero. Keeps its value when omitted.

attribute
short_days: int

ShortDays is the short retention in days, greater than zero and at most long_days (the stored value when long_days is omitted). Keeps its value when omitted.

TTL changes blob retention.

Not supported for GCP data planes. Omitted fields keep their value.