From f0a808d969f35c283d3e1faf16e1486789e4e6ac Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 9 Feb 2026 01:59:44 -0500 Subject: [PATCH] docs(core): add missing `name` docstring for `RunnableSerializable` (#35088) --- libs/core/langchain_core/runnables/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/core/langchain_core/runnables/base.py b/libs/core/langchain_core/runnables/base.py index 5e8c65f8972..29a7d8ed731 100644 --- a/libs/core/langchain_core/runnables/base.py +++ b/libs/core/langchain_core/runnables/base.py @@ -2587,6 +2587,10 @@ class RunnableSerializable(Serializable, Runnable[Input, Output]): """Runnable that can be serialized to JSON.""" name: str | None = None + """The name of the `Runnable`. + + Used for debugging and tracing. + """ model_config = ConfigDict( # Suppress warnings from pydantic protected namespaces