Commit 208ca2ff authored by Paromita Mitra's avatar Paromita Mitra
Browse files

dask_storage_parameters trial6

parent b23272aa
Pipeline #62781 passed with stage
in 37 seconds
......@@ -12,7 +12,7 @@ async def get_dask_storage_parameters(tenant: Tenant, directory: Optional[str] =
endpoint_url = storage._endpointURL
print("minio endpoint url ", endpoint_url)
base_directory = f'{tenant.bucket_name}/{directory}' if directory else tenant.bucket_name
storage_options = {'key': access_key, 'secret': secret_key}
storage_options = {"key": access_key, "secret": secret_key}
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