# 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`.

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/b710a69b12e49479045eaa54dfb709326473500b/libs/deepagents/deepagents/backends/protocol.py#L788)