# granite_storage.policies

class granite_storage.policies.StoragePolicy(storage_key: str, backend_key: str, max_size: int | None = None, key_prefix: str | None = None)

  Bases: `object`

  __init__(storage_key: str, backend_key: str, max_size: int | None = None, key_prefix: str | None = None) → None
  backend_key: str
  key_prefix: str | None = None
  max_size: int | None = None
  storage_key: str