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_mountss3_mount
Function●Since v0.8

s3_mount

Copy
s3_mount(
  *,
  id: str,
  mount_path: str,
  bucket: str,
  region
View source on GitHub
:
str
=
'us-east-1'
,
prefix
:
str
|
None
=
None
,
endpoint_url
:
str
=
'https://s3.amazonaws.com'
,
path_style
:
bool
=
False
,
read_only
:
bool
|
None
=
None
,
cache
:
MountCacheConfig
|
None
=
None
)
->
S3MountSpec

Build an S3-backed sandbox mount specification.