https://kedro.org/ logo
#beginners-need-help
Title
# beginners-need-help
i

Ian Whalen

12/03/2021, 6:33 PM
I'm back! Another question on using APIDataSet (which is now my child class that just casts auth to a tuple if its iterable). I want to do this in my `catalog.yml`:
Copy code
yaml
api:
  type: MyAPIDataSet
  url: ...
  auth: 
    - ${username}
    - ${password}
where my credentials has:
Copy code
yaml
username: me
password: my_password
I also tried:
catalog.yml
Copy code
yaml
api:
  type: MyAPIDataSet
  url: ...
  auth: my_auth
credentials.yml
Copy code
yaml
my_auth:
  - me
  - my_password
Am I not understanding how
credentials.yml
is supposed to work? Or is it just wonky when working with APIDataSet?