aeat.domain.calculations.registry._aeat_hosts module

AEAT host predicates shared by registry live-surface guards.

aeat_host_suffixes()[source]

Return host suffixes treated as AEAT-owned infrastructure.

Return type:

tuple[str, ...]

is_aeat_host(host)[source]

Return whether host is under an AEAT-owned suffix.

Return type:

bool

Parameters:

host (str)

first_aeat_host(hosts)[source]

Return the first AEAT-owned host in hosts or None.

Return type:

str | None

Parameters:

hosts (tuple[str, ...])