# DeployContext

> **Class** in `langgraph_cli`

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

## Signature

```python
DeployContext(
    self,
    client: HostBackendClient,
    endpoints: ControlPlaneEndpoints,
    spec: BuildSpec,
    verbose: bool,
    selector: DeploymentSelector,
    deployment_type: str,
    secrets: list[dict[str, str]],
    tracked_packages: list[str] | None,
)
```

## Constructors

```python
__init__(
    self,
    client: HostBackendClient,
    endpoints: ControlPlaneEndpoints,
    spec: BuildSpec,
    verbose: bool,
    selector: DeploymentSelector,
    deployment_type: str,
    secrets: list[dict[str, str]],
    tracked_packages: list[str] | None,
) -> None
```

| Name | Type |
|------|------|
| `client` | `HostBackendClient` |
| `endpoints` | `ControlPlaneEndpoints` |
| `spec` | `BuildSpec` |
| `verbose` | `bool` |
| `selector` | `DeploymentSelector` |
| `deployment_type` | `str` |
| `secrets` | `list[dict[str, str]]` |
| `tracked_packages` | `list[str] \| None` |


## Properties

- `client`
- `endpoints`
- `spec`
- `verbose`
- `selector`
- `deployment_type`
- `secrets`
- `tracked_packages`

---

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