diff --git a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py index 9a7b6afe7d0ac663dc78bbca3a99f2886504edab..dc3865179363a0e5666f400cc5662737b5958f51 100644 --- a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py +++ b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py @@ -2,7 +2,7 @@ from pathlib import Path -from .utility_classes import ( +from .utilities import ( Telescope, ScienceProduct, ) diff --git a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utility_classes.py b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utilities.py similarity index 95% rename from apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utility_classes.py rename to apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utilities.py index 9adfa5225290a032e9ef967eec237307c97de589..09366f128bed2c6ad85023d50e2aadc25894793c 100644 --- a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utility_classes.py +++ b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/utilities.py @@ -61,8 +61,8 @@ class ScienceProductType(Enum): class ScienceProduct: """Represents a science product in an ingestion manifest""" - def __init__(self, type: ScienceProductType, filename: str, locator: str, group_with: str): - self.type = type + def __init__(self, sp_type: ScienceProductType, filename: str, locator: str, group_with: str): + self.sp_type = sp_type self.filename = filename # product locator, used for input groups; locator for a known science product self.locator = locator diff --git a/apps/cli/executables/pexable/ingest_envoy/test/test_evla_ing_manifests.py b/apps/cli/executables/pexable/ingest_envoy/test/test_evla_ing_manifests.py index 2fe8bf9774482fa96885b1da451b3489d593a2a9..319074aba62cd286928ae4332e73e7cbc250d8b7 100644 --- a/apps/cli/executables/pexable/ingest_envoy/test/test_evla_ing_manifests.py +++ b/apps/cli/executables/pexable/ingest_envoy/test/test_evla_ing_manifests.py @@ -5,7 +5,7 @@ import pytest from ..ingest_envoy.ingestion_manifest import Parameters from ..ingest_envoy.ingestion_manifest_builder import IngestionManifestBuilder -from apps.cli.executables.pexable.ingest_envoy.ingest_envoy.utility_classes import Telescope +from apps.cli.executables.pexable.ingest_envoy.ingest_envoy.utilities import Telescope @pytest.mark.skip("TODO: test_builds_evla_sdm_manifest")