dodil/erp-brick-contracts

src/brick_contracts/domain/packs/__init__.py

"""Localisation packs: a country's seed rows and its checks. A pack RECORDS and REFUSES on what the law makes a rule
of (a day-one statement, a status determination statement, a deed); it never judges a contract's legal effect."""
from brick_contracts.domain.packs import gb

PACKS = {"gb": gb}


def for_type(ctype):
    return PACKS.get((ctype.pack or "").lower()) if ctype is not None else None