sec_interp.gui.adapters.feature_fetcher module

Feature-fetching adapter for drillhole child layers (Extract phase).

Reads survey and interval data from QGIS vector layers and returns plain tuples, so the core layer never has to touch QgsFeatureRequest.

class sec_interp.gui.adapters.feature_fetcher.DataFetcher

Bases: object

Handles bulk fetching of survey and interval data from QGIS layers.

fetch_bulk_data(layer: qgis.core.QgsVectorLayer, hole_ids: set[Any], fields: dict[str, str]) → dict[Any, list[tuple[Any, ...]]]

Fetch data for multiple holes in a single pass.