Skip to content

angee.resources.tiers

Resource tier choices used by the resource ledger and manifests.

ResourceTier

python
class ResourceTier(models.TextChoices)

Resource file tiers persisted on ledger rows.

from_value

python
@classmethod
def from_value(cls, value: object) -> str

Return the canonical tier value for a string or enum member.

with_prerequisites

python
@classmethod
def with_prerequisites(cls, tiers: Iterable[object] | None) -> tuple[str, ...]

Return selected tiers plus the earlier tiers they depend on.

Released under the AGPL-3.0 License.