Skip to content

voiage.domain_templates.get_domain_template

get_domain_template([positional or keyword] template_id: str = None, [positional or keyword] registry_path: Path | None = None) -> DomainTemplate

Retrieve a specific domain template by its template_id.

template_id : str Unique template ID. registry_path : Path, optional Path to registry.json file.

DomainTemplate The requested domain template.

ValueError If template_id is not found in the registry.

Parameters:

  • template_id str
  • registry_path Path | None (default: None)

Returns: DomainTemplate