security_policy
Validation helpers for security-sensitive Puzzletron configuration.
Functions
Return a policy boolean, resolving |
- require_boolean_policy(value, *, path, default=None)
Return a policy boolean, resolving
Noneonly to an explicit default.- Parameters:
value (Any)
path (str)
default (bool | None)
- Return type:
bool