Skip to content

Commit d7d5d3f

Browse files
committed
docs: fix deprecated PDP policy library import path in OPA writer doc
1 parent a511c6f commit d7d5d3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aiac/docs/specs/components/pdp-policy-writer-opa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ A worked example (agent `github-agent`, users `developer`/`tester`, tool `github
181181

182182
---
183183

184-
## Library: `aiac.pdp.library.policy`
184+
## Library: `aiac.pdp.policy.library`
185185

186186
HTTP client module wrapping the PDP Policy Writer REST API. Exposes four module-level functions. Service URL is read from the `AIAC_PDP_POLICY_URL` environment variable (default: `http://127.0.0.1:7072`). All functions raise `RuntimeError` on non-2xx response.
187187

@@ -210,7 +210,7 @@ python-dotenv
210210
### Usage
211211

212212
```python
213-
from aiac.pdp.library.policy import apply_policy, apply_agent_policy, delete_agent_policy, delete_policy
213+
from aiac.pdp.policy.library.api import apply_policy, apply_agent_policy, delete_agent_policy, delete_policy
214214
from aiac.policy.model.models import PolicyModel, AgentPolicyModel, PolicyRule
215215

216216
apply_agent_policy("weather-agent", agent_model)

0 commit comments

Comments
 (0)