Home/Python API overview/cadrumo package/cadrumo.domain package/cadrumo.domain.calculations package/cadrumo.domain.calculations.registry package/cadrumo.domain.calculations.registry.ids module cadrumo.domain.calculations.registry.ids module¶ Identifier helpers for registry schema objects. is_registry_id(value)[source]¶ Return whether value is a stable registry id. Return type: bool Parameters: value (str) LEGAL_REFS_ADAPTER: TypeAdapter[tuple[LegalRefId, ...]]¶ Validate a tuple of legal reference ids, beside the type it validates. Two modules built this adapter independently. Keeping it with the type means a change to LegalRefId cannot leave a copy validating the old shape. SOURCE_REFS_ADAPTER: TypeAdapter[tuple[SourceRefId, ...]]¶ Validate a tuple of source reference ids, beside the type it validates.