maple.state.store.get_policy

maple.state.store.get_policy(name: str, version: str) Dict | None

Get a pulled policy.

Retrieves policy information from the database by name and version.

Parameters:
  • name – Name of the policy model.

  • version – Version identifier of the policy.

Returns:

Dictionary containing policy data, or None if not found.