Commit fffed4ff authored by Spencer Sutton's avatar Spencer Sutton
Browse files

Fixing config for dataset dms client

parent 7408d638
......@@ -27,7 +27,7 @@ from osdu_api.libs.context import Context
from osdu_api.libs.handle_file import FileHandler
from osdu_api.libs.utils import remove_trailing_colon
from osdu_api.clients.dataset.dataset_dms_client import DatasetDmsClient
from osdu_api.configuration.config_manager import DefaultConfigManager
from energistics.libs.energistics_parsers import parse_witsml_file, FileInfo
RETRIES = 3
......@@ -228,7 +228,7 @@ class EnergisticsManifestCreator:
download_signed_url = ""
if execution_context["Context"]["dataset_id"]:
dataset_dms_client = DatasetDmsClient(data_partition_id=self.payload_context.data_partition_id)
dataset_dms_client = DatasetDmsClient(DefaultConfigManager(), self.payload_context.data_partition_id)
retrieval_instructions_response = dataset_dms_client.get_retrieval_instructions(record_id=execution_context["Context"]["dataset_id"])
# logger.info(f"Dataset retrieval response code: {retrieval_instructions_response.status_code}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment