MCPcopy Create free account

hub / github.com/langchain-ai/langgraph / functions

Functions7,100 in github.com/langchain-ai/langgraph

Methodfrom_conn_string
Create a new AsyncShallowPostgresSaver instance from a connection string. Args: conn_string: The Postgres connection info string.
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:571
Methodfrom_conn_string
Create a new PostgresSaver instance from a connection string. Args: conn_string: The Postgres connection info string.
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:64
Methodfrom_conn_string
Create a new AsyncPostgresSaver instance from a connection string. Args: conn_string: The Postgres connection info string.
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:65
Functionfruit_echo
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence.py:561
Functionfruit_echo
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence_async.py:578
Functionfunc
(x: Any, config: RunnableConfig)
libs/langgraph/tests/test_runnable.py:377
Functionfunc
(state)
libs/langgraph/tests/test_state.py:256
Functionfunc_optional
(x: Any, config: Optional[RunnableConfig])
libs/langgraph/tests/test_runnable.py:384
Functionfunc_optional_store
Test function that accepts an optional store parameter.
libs/langgraph/tests/test_runnable.py:90
Functionfunc_required_store
Test function that requires a store parameter.
libs/langgraph/tests/test_runnable.py:113
Functionfunc_required_store_v2
Test function that requires a store parameter and validates its value. The store value is expected to be 'foobar' when injected.
libs/langgraph/tests/test_runnable.py:163
Functionfunc_untyped
(x: Any, config)
libs/langgraph/tests/test_runnable.py:391
Functionfunc_with_store
(x: Any, store: BaseStore)
libs/langgraph/tests/test_runnable.py:23
Functionfunc_with_writer
(x: Any, writer: StreamWriter)
libs/langgraph/tests/test_runnable.py:26
Functiongate
()
libs/sdk-py/tests/streaming/test_transport_ws.py:382
Functiongate
()
libs/sdk-py/tests/streaming/test_shared_stream.py:266
Functiongen
()
libs/langgraph/tests/test_utils.py:84
Functiongen_answer
( state: InterviewState, config: RunnableConfig | None = None, name: str = "Subject_Matter_Expert"
libs/cli/examples/graphs/storm.py:322
Functiongenerate
(state: JokeInput)
libs/langgraph/bench/fanout_to_subgraph.py:30
Functiongenerate_analysts
(state: ResearchGraphState)
libs/langgraph/tests/test_pregel.py:4106
Functiongenerate_answer
(state)
libs/langgraph/tests/test_pregel.py:4063
Functiongenerate_question
(state)
libs/langgraph/tests/test_pregel.py:4060
Functiongenerate_question
(state: InterviewState)
libs/cli/examples/graphs/storm.py:245
Functiongenerate_sections
(state: ResearchGraphState)
libs/langgraph/tests/test_pregel.py:4103
Functiongenerate_structured_response
( state: StateSchema, runtime: Runtime[ContextT], config: RunnableConfig )
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:744
Methodget
(scratchpad: PregelScratchpad)
libs/langgraph/langgraph/managed/base.py:21
Methodget
(scratchpad: PregelScratchpad)
libs/langgraph/langgraph/managed/is_last_step.py:11
Methodget
(scratchpad: PregelScratchpad)
libs/langgraph/langgraph/managed/is_last_step.py:20
Methodget
(self)
libs/langgraph/langgraph/channels/ephemeral_value.py:70
Methodget
(self)
libs/langgraph/langgraph/channels/last_value.py:69
Methodget
(self)
libs/langgraph/langgraph/channels/last_value.py:145
Methodget
(self)
libs/langgraph/langgraph/channels/delta.py:185
Methodget
(self)
libs/langgraph/langgraph/channels/untracked_value.py:67
Methodget
(self)
libs/langgraph/langgraph/channels/named_barrier_value.py:69
Methodget
(self)
libs/langgraph/langgraph/channels/named_barrier_value.py:147
Methodget
(self)
libs/langgraph/langgraph/channels/any_value.py:63
Functionget_connection
( conn: Conn, )
libs/checkpoint-postgres/langgraph/checkpoint/postgres/_ainternal.py:14
Functionget_connection
(conn: Conn)
libs/checkpoint-postgres/langgraph/checkpoint/postgres/_internal.py:14
Functionget_day_list
choose days
libs/prebuilt/tests/test_tool_node.py:1512
Functionget_day_list
choose days
libs/prebuilt/tests/test_react_agent.py:926
Methodget_delta_channel_history
Sync bridge to `aget_delta_channel_history`. Mirrors the same cross-thread guard as `get_tuple` / `delete_thread` — calling from the
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:282
Methodget_delta_channel_history
Walk the parent chain returning per-channel writes + seed. !!! warning "Beta" This method is part of the `DeltaChannel` support
libs/checkpoint/langgraph/checkpoint/base/__init__.py:583
Functionget_dolphin_input
(state: ChildState)
libs/langgraph/tests/test_pregel.py:7754
Functionget_fields
(model: type[BaseModel])
libs/langgraph/langgraph/_internal/_pydantic.py:34
Functionget_first_in_list
()
libs/langgraph/tests/test_large_cases_async.py:3632
Methodget_graph
( self, config: RunnableConfig | None = None, *, xray: int | bool = False,
libs/langgraph/langgraph/pregel/protocol.py:32
Methodget_graph
Get the graph of an assistant by ID. Args: assistant_id: The ID of the assistant to get the graph of. xray: Include g
libs/sdk-py/langgraph_sdk/_sync/assistants.py:92
Methodget_history
Get the state history of a thread. Args: thread_id: The ID of the thread to get the state history for. checkpoint: Re
libs/sdk-py/langgraph_sdk/_sync/threads.py:674
Functionget_human_input
(state: ChildState)
libs/langgraph/tests/test_pregel.py:6201
Functionget_info
This tool returns info from context.
libs/prebuilt/tests/test_tool_node.py:1875
Methodget_input_jsonschema
( self, config: RunnableConfig | None = None )
libs/langgraph/langgraph/graph/state.py:1424
Methodget_item
Retrieve a single item. Args: key: The unique identifier for the item. namespace: Optional list of strings representi
libs/sdk-py/langgraph_sdk/_sync/store.py:87
Methodget_json_decryptor
Get the JSON decryptor. Args: _model: Ignored. Kept for backwards compatibility with langgraph-api which passes m
libs/sdk-py/langgraph_sdk/encryption/__init__.py:446
Methodget_json_encryptor
Get the JSON encryptor. Args: _model: Ignored. Kept for backwards compatibility with langgraph-api which passes m
libs/sdk-py/langgraph_sdk/encryption/__init__.py:431
Methodget_name
(self, suffix: str | None = None, *, name: str | None = None)
libs/langgraph/langgraph/pregel/_write.py:70
Methodget_next_version
Generate the next version ID for a channel. This method creates a new version identifier for a channel based on its current version.
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:627
Methodget_next_version
Generate the next version ID for a channel. This method creates a new version identifier for a channel based on its current version.
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:699
Methodget_next_version
(self, current: int | None, channel: None)
libs/langgraph/tests/test_pregel_async.py:131
Methodget_next_version
(self, current: int | None, channel: None)
libs/langgraph/tests/test_pregel.py:219
Methodget_next_version
(self, current: str | None, channel: None)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:613
Methodget_next_version
Generate the next version ID for a channel. Default is to use integer versions, incrementing by `1`. If you override, you can use `s
libs/checkpoint/langgraph/checkpoint/base/__init__.py:693
Functionget_null_resume
(consume: bool = False)
libs/langgraph/langgraph/pregel/_algo.py:1320
Methodget_output_jsonschema
( self, config: RunnableConfig | None = None )
libs/langgraph/langgraph/graph/state.py:1434
Functionget_posts
()
libs/langgraph/tests/test_tracing_interops.py:97
Methodget_schemas
Get the schemas of an assistant by ID. Args: assistant_id: The ID of the assistant to get the schema of. headers: Opt
libs/sdk-py/langgraph_sdk/_sync/assistants.py:147
Methodget_state
( self, config: RunnableConfig, *, subgraphs: bool = False )
libs/langgraph/langgraph/pregel/protocol.py:48
Methodget_state
Get the state of a thread. Args: thread_id: The ID of the thread to get the state of. checkpoint: The checkpoint to g
libs/sdk-py/langgraph_sdk/_sync/threads.py:476
Methodget_state_history
( self, config: RunnableConfig, *, filter: dict[str, Any] | None = None,
libs/langgraph/langgraph/pregel/protocol.py:58
Functionget_store
Access LangGraph store from inside a graph node or entrypoint task at runtime. Can be called from inside any [`StateGraph`][langgraph.graph.State
libs/langgraph/langgraph/config.py:32
Methodget_subgraphs
Get the schemas of an assistant by ID. Args: assistant_id: The ID of the assistant to get the schema of. headers: Opt
libs/sdk-py/langgraph_sdk/_sync/assistants.py:282
Methodget_tree
( self, *, xray: int | bool = False, headers: Mapping[str, str] | None = None,
libs/sdk-py/langgraph_sdk/_sync/stream.py:182
Methodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the SQLite database based on the provided con
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:147
Methodget_tuple
(self, config)
libs/langgraph/tests/memory_assert.py:39
Methodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided c
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:305
Methodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided c
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:894
Methodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided c
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:589
Functionget_unknown_keys
Return warnings for unrecognized top-level keys (typos, etc.).
libs/cli/langgraph_cli/config.py:665
Functionget_user_name
Retrieve user name
libs/langgraph/tests/test_pregel_async.py:6070
Functionget_user_name
Retrieve user name
libs/langgraph/tests/test_pregel.py:4749
Functionget_user_name
Retrieve user name
libs/prebuilt/tests/test_react_agent.py:541
Methodget_versions
List all versions of an assistant. Args: assistant_id: The assistant ID to get versions for. metadata: Metadata to fi
libs/sdk-py/langgraph_sdk/_async/assistants.py:656
Methodget_versions
List all versions of an assistant. Args: assistant_id: The assistant ID to get versions for. metadata: Metadata to fi
libs/sdk-py/langgraph_sdk/_sync/assistants.py:655
Methodget_waiter
()
libs/langgraph/langgraph/pregel/main.py:3018
Functionget_weather
(state: OverallState)
libs/langgraph/tests/test_pregel.py:1732
Functionget_weather
Get the weather for a specific city
libs/langgraph/tests/test_large_cases.py:6436
Functionget_weather
Get the weather for a specific city
libs/langgraph/tests/test_large_cases_async.py:3538
Functionget_weather
Get weather for a given city.
libs/prebuilt/tests/test_injected_state_not_required.py:44
Functionget_weather
Get the weather
libs/prebuilt/tests/test_react_agent.py:504
Functionget_weather_optional
Get weather for a given city (accepts None).
libs/prebuilt/tests/test_injected_state_not_required.py:219
Methodget_writes
( packets: Sequence[str | Send], static: bool = False )
libs/langgraph/langgraph/graph/state.py:1580
Functiongrandchild_1
(state: ChildState)
libs/langgraph/tests/test_pregel_async.py:5443
Functiongrandchild_1
(state: ChildState)
libs/langgraph/tests/test_pregel.py:3641
Functiongrandchild_1
(state: ChildState)
libs/langgraph/tests/test_large_cases.py:5295
Functiongrandchild_1
(state: ChildState)
libs/langgraph/tests/test_large_cases_async.py:3001
Functiongrandchild_2
(state: ChildState)
libs/langgraph/tests/test_pregel_async.py:5446
Functiongrandchild_2
(state: ChildState)
libs/langgraph/tests/test_pregel.py:3644
Functiongrandchild_2
(state: ChildState)
libs/langgraph/tests/test_large_cases.py:5298
Functiongrandchild_2
(state: ChildState)
libs/langgraph/tests/test_large_cases_async.py:3004
Functiongraph
(x: int)
libs/langgraph/tests/test_pregel_async.py:247
Functiongraph
(inputs: Any, *, writer: StreamWriter)
libs/langgraph/tests/test_stream_events_v3.py:112
← previousnext →3,201–3,300 of 7,100, ranked by callers