langchain/libs/core/langchain_core/runnables
William FH ca768c8353
[Core] Check is async callable (#21714)
To permit proper coercion of objects like the following:


```python
class MyAsyncCallable:
    async def __call__(self, foo):
        return await ...

class MyAsyncGenerator:
    async def __call__(self, foo):
        await ...
        yield 
```
2024-05-15 10:49:49 -07:00
..
__init__.py docs: runnable module description (#17966) 2024-03-01 10:01:32 -08:00
base.py [Core] Check is async callable (#21714) 2024-05-15 10:49:49 -07:00
branch.py [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
config.py [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
configurable.py core[patch[: docstring update (#21036) 2024-04-29 15:35:34 -04:00
fallbacks.py [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
graph_ascii.py core: Add concept of conditional edge to graph rendering (#20480) 2024-04-15 13:49:06 -07:00
graph_mermaid.py core: allow mermaid node labels to have any characters (#21385) 2024-05-07 12:16:49 -07:00
graph_png.py core[patch[: docstring update (#21036) 2024-04-29 15:35:34 -04:00
graph.py core[patch[: docstring update (#21036) 2024-04-29 15:35:34 -04:00
history.py support messages in messages out (#20862) 2024-04-24 14:58:58 -07:00
learnable.py [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
passthrough.py core[patch[: docstring update (#21036) 2024-04-29 15:35:34 -04:00
retry.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
router.py docs: Add docs for RouterRunnable (#19191) 2024-03-17 00:48:00 +00:00
schema.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
utils.py [Core] Check is async callable (#21714) 2024-05-15 10:49:49 -07:00