maple.state.store.remove_policy

maple.state.store.remove_policy(name: str, version: str) bool

Remove a pulled policy.

Deletes a policy record from the database. Does not delete the actual model files from disk.

Parameters:
  • name – Name of the policy model.

  • version – Version identifier of the policy.

Returns:

True if a policy was deleted, False if not found.