parse#

dscat.adapters.parse(cfg, version)[source]#

Parse a version’s dictionary into feature rows using the configured layout.

Parameters:
Returns:

Raises:

ValueError – When cfg.layout is neither "sheet_per_table" nor "single_sheet".

Return type:

tuple[list[TypeAliasForwardRef(’dscat.model.FeatureRow’)], dict[str, str]]