Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compass/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# Temporarily import to register plugins
# Can drop once plugins register themselves
from .extraction import (
COMPASSDataCentersExtractor,
COMPASSGeoHeatPumpExtractor,
COMPASSGeoElectricityExtractor,
COMPASSNaturalGasPipelinesExtractor,
Expand Down
1 change: 1 addition & 0 deletions compass/extraction/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# Temporarily import to register plugins
# Can drop once plugins register themselves
from .data_centers import COMPASSDataCentersExtractor
from .ghp import COMPASSGeoHeatPumpExtractor
from .geothermal_electricity import COMPASSGeoElectricityExtractor
from .natural_gas_pipelines import COMPASSNaturalGasPipelinesExtractor
Expand Down
12 changes: 12 additions & 0 deletions compass/extraction/data_centers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""COMPASS data centers plugin"""

import importlib.resources

from compass.plugin import create_schema_based_one_shot_extraction_plugin


COMPASSDataCentersExtractor = create_schema_based_one_shot_extraction_plugin(
importlib.resources.files("compass.extraction.data_centers")
/ "plugin_config.yaml",
tech="data_centers",
)
Loading
Loading