docs: runnable docstring space (#25106)

This commit is contained in:
Bagatur 2024-08-06 09:46:50 -07:00 committed by GitHub
parent 3abf1b6905
commit 2c798622cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,8 +108,8 @@ Other = TypeVar("Other")
class Runnable(Generic[Input, Output], ABC): class Runnable(Generic[Input, Output], ABC):
"""A unit of work that can be invoked, batched, streamed, transformed and composed. """A unit of work that can be invoked, batched, streamed, transformed and composed.
Key Methods Key Methods
=========== ===========
- **invoke/ainvoke**: Transforms a single input into an output. - **invoke/ainvoke**: Transforms a single input into an output.
- **batch/abatch**: Efficiently transforms multiple inputs into outputs. - **batch/abatch**: Efficiently transforms multiple inputs into outputs.