Using this code to read multiple parquet files from a private s3 bucket, not from AWS
import dask as dd
dd.read_parquet(
's3://ns1/data/key',
storage_options={
'key': 'key',
'secret': 'secret',
'client_kwargs': {'endpoint_url': 'https://s3.sample-private-cloud.com'}
}
)
Why am I getting an error:
TypeError: ‘coroutine’ object is not iterable
I was able to download the file using boto3 client but unable to read it using dask.