Mo Bro
11/06/2023, 8:45 AMdict() got multiple values for keyword argument 'account_name'
Any body can help out on what I am missing? Thx in advance!datajoely
11/06/2023, 9:33 AMaccount_name
via env variables too?Nok Lam Chan
11/06/2023, 11:01 AMdev_abs:
account_name: accountname
account_key: key
Try to update the example to
dev_abs:
key: accountname
secret: key
Mo Bro
11/07/2023, 1:06 PMdatajoely
11/07/2023, 1:08 PMMo Bro
11/07/2023, 1:20 PMdatajoely
11/07/2023, 1:53 PMpip list -V
and tell us the version of Kedro
, Pandas
, fsspec
and adlfs
Mo Bro
11/07/2023, 1:55 PMdatajoely
11/07/2023, 2:10 PMfrom kedro.datasets.pandas import CSVDataSet
and try to configure CSVDataSet
live in python, all we’re doing behind the scenes is passing arguments to this class so if you get the same error plugging in the credentials manually we can isolate the issueMo Bro
11/07/2023, 2:20 PMdatajoely
11/07/2023, 2:23 PMfrom kedro.extras.datasets.pandas import CSVDataSet
Mo Bro
11/07/2023, 2:34 PMdatajoely
11/07/2023, 2:35 PMdf.load()
Mo Bro
11/07/2023, 2:35 PMdatajoely
11/07/2023, 2:37 PMfs_args
argument?Mo Bro
11/07/2023, 2:41 PMdatajoely
11/07/2023, 2:50 PMNok Lam Chan
11/07/2023, 2:53 PMfrom kedro_datasets.pandas import CSVDataset
import pandas as pd
data = pd.DataFrame({"col1": [1, 2], "col2": [4, 5], "col3": [5, 6]})
cred = {"account_name":"123","account_key":"123"}
dataset = CSVDataset(filepath="<abfs://model/test.csv>", credentials=cred)
dataset.save(data)
I try this and I get authentication error not dict errordatajoely
11/07/2023, 2:57 PM.load()
Nok Lam Chan
11/07/2023, 3:01 PMMo Bro
11/08/2023, 9:03 AMIñigo Hidalgo
11/08/2023, 5:55 PMMo Bro
11/09/2023, 8:57 PMIñigo Hidalgo
11/10/2023, 2:00 PM