divya / engine /policy /loader.py
jash-ai's picture
Upload 46 files
b413e74 verified
Raw
History Blame Contribute Delete
154 Bytes
import yaml
with open("policies/governance.yaml") as f:
POL=yaml.safe_load(f)["policies"]
def get_policy(cat):
return POL.get(cat, POL["SAFE"])