# execute_accepts_timeout

> **Function** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/backends/protocol/execute_accepts_timeout)

Check whether a backend class's `execute` accepts a `timeout` kwarg.

Older backend packages didn't lower-bound their SDK dependency, so they
may not accept the `timeout` keyword added to
[`SandboxBackendProtocol`][deepagents.backends.protocol.SandboxBackendProtocol].

Results are cached per class to avoid repeated introspection overhead.

## Signature

```python
execute_accepts_timeout(
    cls: type[SandboxBackendProtocol],
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a6c06b029710d34035af6ae1faded093cc8f3073/libs/deepagents/deepagents/backends/protocol.py#L890)