LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Graphs
  • Functional API
  • Pregel
  • Checkpointing
  • Storage
  • Caching
  • Types
  • Runtime
  • Config
  • Errors
  • Constants
  • Channels
  • Agents
LangGraph CLI
LangGraph SDK
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
LangGraph CLI
LangGraph SDK
LangGraph Supervisor
LangGraph Swarm
Language
Theme
PythonlanggraphtypesPregelExecutableTask
Classā—Since v0.2

PregelExecutableTask

Copy
PregelExecutableTask(
  self,
  name: str,
  input: Any,
  proc: Runnable,
  writes: deque[tuple[str, Any]],
  config: RunnableConfig,
  triggers: Sequence[str],
  retry_policy: Sequence[RetryPolicy],
  cache_key: CacheKey | None,
  id: str,
  path: tuple[str | int | tuple, ...],
  writers: Sequence[Runnable] = (),
  subgraphs: Sequence[PregelProtocol] = ()
)

Constructors

constructor
__init__
NameType
namestr
inputAny
procRunnable
writesdeque[tuple[str, Any]]
configRunnableConfig
triggersSequence[str]
retry_policySequence[RetryPolicy]
cache_keyCacheKey | None
idstr
pathtuple[str | int | tuple, ...]
writersSequence[Runnable]
subgraphsSequence[PregelProtocol]

Attributes

attribute
name: str
attribute
input: Any
attribute
proc: Runnable
attribute
writes: deque[tuple[str, Any]]
attribute
config: RunnableConfig
attribute
triggers: Sequence[str]
attribute
retry_policy: Sequence[RetryPolicy]
attribute
cache_key: CacheKey | None
attribute
id: str
attribute
path: tuple[str | int | tuple, ...]
attribute
writers: Sequence[Runnable]
attribute
subgraphs: Sequence[PregelProtocol]
View source on GitHub