parse_dsd_id()

Parse a DSD identifier into its components.

Usage

Source

parse_dsd_id(dsd_id)
WarningDeprecated since version Use

Parameters

dsd_id: str
The DSD identifier in the format "agency:id(version)".

Returns

tuple[str, str, str]
A tuple containing the agency, id, and version.

Raises

ValueError
If the dsd_id is not in the expected format.