---
title: subscriptions
sidebarTitle: subscriptions
---

# `prefect.client.subscriptions`

## Classes

### `Subscription` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/client/subscriptions.py#L23" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

**Methods:**

#### `websocket` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/client/subscriptions.py#L49" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python
websocket(self) -> websockets.asyncio.client.ClientConnection
```
