LangChain
Core
Community
Experimental
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
Partner libs
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
Docs
Toggle Menu
Prev
Up
Next
langchain_core.runnables.utils
.accepts_context
accepts_context()
langchain_core.runnables.utils
.accepts_context
¶
langchain_core.runnables.utils.
accepts_context
(
callable
:
Callable
[
[
...
]
,
Any
]
)
→
bool
[source]
¶
Check if a callable accepts a context argument.