core: fix docstring (#24129)

This commit is contained in:
Nuno Campos 2024-07-11 09:38:14 -07:00 committed by GitHub
parent 08638ccc88
commit 3e454d7568
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -136,8 +136,8 @@ def node_data_str(id: str, data: Union[Type[BaseModel], RunnableType]) -> str:
"""Convert the data of a node to a string. """Convert the data of a node to a string.
Args: Args:
node: The node to convert. id: The node id.
html: Whether to format the data as HTML rich text. data: The node data.
Returns: Returns:
A string representation of the data. A string representation of the data.