# ResolvedManagedPath

> **Class** in `deepagents_code`

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

Where managed policy is read from, and whether that location is certain.

`fallback` holds why the path is a guess, or `None` when the path is
authoritative. A failed registry query leaves the lookup pointing at the
hardcoded default. On a host whose ProgramData is relocated, the guessed
path holds no file, which reads as "no administrator deployed policy" — the
same state as a machine with no policy at all. The reason travels with the
path so the two can never be confused: a guessed path yields an
`INDETERMINATE` snapshot rather than a clean `MISSING` one.

## Signature

```python
ResolvedManagedPath(
    self,
    path: Path,
    fallback: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    path: Path,
    fallback: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `path` | `Path` |
| `fallback` | `str \| None` |


## Properties

- `path`
- `fallback`

---

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