# wrapped_response_future

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/cassandra/wrapped_response_future)

Wrap a Cassandra response future in an asyncio future.

## Signature

```python
wrapped_response_future(
    func: Callable[..., ResponseFuture],
    *args: Any = (),
    **kwargs: Any = {},
) -> Any
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `func` | `Callable[..., ResponseFuture]` | Yes | The Cassandra function to call. |
| `*args` | `Any` | No | The arguments to pass to the Cassandra function. (default: `()`) |
| `**kwargs` | `Any` | No | The keyword arguments to pass to the Cassandra function. (default: `{}`) |

## Returns

`Any`

The result of the Cassandra function.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/utilities/cassandra.py#L11)