# dict_to_yaml

> **Function** in `langgraph_cli`

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

Convert a dictionary to a YAML string.

## Signature

```python
dict_to_yaml(
    d: dict,
    *,
    indent: int = 0,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/55ec2f21939ce7755e6398c11b541de8926245ee/libs/cli/langgraph_cli/docker.py#L169)