# connect_deadline

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_ws_execute/connect_deadline)

Monotonic instant after which connect attempts must stop, if bounded.

## Signature

```python
connect_deadline() -> Optional[float]
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19d52419f47c93ca2c57a0d51c58d255f5949092/python/langsmith/sandbox/_ws_execute.py#L67)