LangChain
Core
Community
Experimental
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
Partner libs
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
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.