# OnListener

> **Class** in `langgraph_cli`

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

## Signature

```python
OnListener(
    self,
    listener_id: str,
    k8s_namespace: str,
)
```

## Constructors

```python
__init__(
    self,
    listener_id: str,
    k8s_namespace: str,
) -> None
```

| Name | Type |
|------|------|
| `listener_id` | `str` |
| `k8s_namespace` | `str` |


## Properties

- `listener_id`
- `k8s_namespace`
- `summary`

## Methods

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

---

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