Commit 5e57ecd7 authored by Paromita Mitra's avatar Paromita Mitra
Browse files

dask_storage_parameters trial fix3

parent 9253a3d6
Pipeline #62638 passed with stage
in 42 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": storage._endpointURL}, '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}}
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