Commit 9253a3d6 authored by Paromita Mitra's avatar Paromita Mitra
Browse files

dask_storage_parameters fix2

parent 65b246bb
Pipeline #62619 passed with stage
in 1 minute and 7 seconds
......@@ -9,7 +9,7 @@ async def get_dask_storage_parameters(tenant: Tenant, directory: Optional[str] =
storage = IBMBlobStorageFactory()
base_directory = f'{tenant.bucket_name}/{directory}' if directory else tenant.bucket_name
storage_options = {'anon': False, 'use_ssl': True, 'key': storage._access_key, 'secret': storage._secret_key, 'client_kwargs': {"endpoint_url": "https://minio-osdu-minio.osdu-qa-16x64-ba8e38d4c011d627379af1a4280c4e35-0000.sjc03.containers.appdomain.cloud"}, 'config_kwargs': {"region_name":storage._region}}
storage_options = {'anon': False, 'use_ssl': True, 'key': storage._access_key, 'secret': storage._secret_key, 'client_kwargs': {"endpoint_url": storage._endpointURL}, 'config_kwargs': {"region_name":storage._region}}
return DaskStorageParameters(protocol='https',
base_directory=base_directory,
storage_options=storage_options)
Markdown is supported
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