set_security_policy#

scikitplot.mlflow.set_security_policy(policy)[source]#

Set the active SecurityPolicy globally.

Parameters:
policySecurityPolicy or None

Policy to activate. Pass None to disable enforcement.

Returns:
None
Raises:
TypeError

If policy is not a SecurityPolicy or None.

Parameters:

policy (SecurityPolicy | None)

Return type:

None

See also

security_policy

Activate a policy for a single context block.

Notes

Mutates module-level state. For scope-limited use, prefer security_policy.