set_security_policy#
- scikitplot.mlflow.set_security_policy(policy)[source]#
Set the active
SecurityPolicyglobally.- Parameters:
- policySecurityPolicy or None
Policy to activate. Pass
Noneto disable enforcement.
- Returns:
- None
- Raises:
- TypeError
If policy is not a
SecurityPolicyorNone.
- Parameters:
policy (SecurityPolicy | None)
- Return type:
None
See also
security_policyActivate a policy for a single context block.
Notes
Mutates module-level state. For scope-limited use, prefer
security_policy.