# managed_section_shape_violations

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/configuration/service/managed_section_shape_violations)

Return known managed sections declared as non-table values.

Unknown leaf keys remain forward compatible. Every parent path of a
manifest-backed option is known to be a table, however, as are the
structured options that specifically represent tables. Rejecting a scalar
at one of those paths prevents it from replacing an entire user section.

## Signature

```python
managed_section_shape_violations(
    managed_data: dict[str, Any],
) -> tuple[str, ...]
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/configuration/service.py#L471)