wrapped_response_future#
- async langchain_community.utilities.cassandra.wrapped_response_future(func: Callable[..., ResponseFuture], *args: Any, **kwargs: Any) Any [source]#
Wrap a Cassandra response future in an asyncio future.
- Parameters:
func (Callable[..., ResponseFuture]) – The Cassandra function to call.
*args (Any) – The arguments to pass to the Cassandra function.
**kwargs (Any) – The keyword arguments to pass to the Cassandra function.
- Returns:
The result of the Cassandra function.
- Return type:
Any