mex.extractors.primary_source package¶
Submodules¶
mex.extractors.primary_source.helpers module¶
- mex.extractors.primary_source.helpers.get_extracted_primary_source_id_by_name(name: str) MergedPrimarySourceIdentifier | None ¶
Use helper function to look up a primary source and return its stableTargetId.
A primary source is searched by its name and loaded into the configured sink. Also it’s stable target id is returned.
- Returns:
ExtractedPrimarySource stableTargetId if one matching primary source is found. None if multiple matches / no match is found