https://kedro.org/ logo
Title
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`:
yaml
api:
  type: MyAPIDataSet
  url: ...
  auth: 
    - ${username}
    - ${password}
where my credentials has:
yaml
username: me
password: my_password
I also tried:
catalog.yml
yaml
api:
  type: MyAPIDataSet
  url: ...
  auth: my_auth
credentials.yml
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?