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_modelsFileInfo
Class●Since v0.13

FileInfo

Copy
FileInfo(
  self,
  path: str,
  is_dir: bool = False,
  size_bytes: int 

Constructors

Attributes

Methods

View source on GitHub
=
0
,
modified_at
:
Optional
[
str
]
=
None
)
constructor
__init__
NameType
pathstr
is_dirbool
size_bytesint
modified_atOptional[str]
attribute
path: str
attribute
is_dir: bool
attribute
size_bytes: int
attribute
modified_at: Optional[str]
method
from_dict

One filesystem entry returned by :meth:Sandbox.glob.

Create a FileInfo from API response dict.