aeat.domain.portals._hosts module¶
Resolve PortalHost origins from external constants.
These helpers keep hostnames centralized for PortalMetadata
validation and portal-entry assembly rather than embedding AEAT domains in
individual catalogue entries.
- portal_host_origin(subdomain)[source]¶
Return the configured HTTPS origin for a
PortalHost.- Return type:
- Parameters:
subdomain (PortalHost)
- portal_host_name(subdomain)[source]¶
Return the configured hostname for a
PortalHost.- Return type:
- Parameters:
subdomain (PortalHost)