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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithsandbox_modelsDownloadURL
Class●Since v0.11

DownloadURL

Copy
DownloadURL(
  self,
  download_url: str,
  token: str,
  expires_at: Optional[str

Constructors

Attributes

Methods

View source on GitHub
]
=
None
)
constructor
__init__
NameType
download_urlstr
tokenstr
expires_atOptional[str]
attribute
download_url: str
attribute
token: str
attribute
expires_at: Optional[str]
method
from_dict

A link that downloads one sandbox file with no LangSmith credential.

The link is pinned to the sandbox, the file path, and the response headers, so it cannot be repointed at another file. It is pinned to the path rather than to a snapshot of the contents, so the file must not be modified while the link is in use.

Create a DownloadURL from API response dict.