# Listener

> **Class** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/Listener)

## Signature

```python
Listener(
    self,
    id: str,
    compute_id: str,
    namespaces: tuple[str, ...],
)
```

## Constructors

```python
__init__(
    self,
    id: str,
    compute_id: str,
    namespaces: tuple[str, ...],
) -> None
```

| Name | Type |
|------|------|
| `id` | `str` |
| `compute_id` | `str` |
| `namespaces` | `tuple[str, ...]` |


## Properties

- `id`
- `compute_id`
- `namespaces`

## Methods

- [`from_resource()`](https://reference.langchain.com/python/langgraph-cli/deploy/Listener/from_resource)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/736a18eaab6d80eed54d4c842c1297c8c87fef80/libs/cli/langgraph_cli/deploy.py#L165)