Title
#beginners-need-help
j c h a r l e s

j c h a r l e s

01/03/2022, 12:19 AM
Also, if I run the following:
import yaml
yaml.dump(node_function(INPUT).to_dict(), open("charles.yml", "w"))
No error happens
datajoely

datajoely

01/03/2022, 4:16 PM
This one is a bit weird - it's not really a Kedro issue, what are you trying to achieve here?
j c h a r l e s

j c h a r l e s

01/03/2022, 10:08 PM
I wanted to have a node output YML instead of CSV
10:08 PM
CSV filetype worked and then YML did not work
datajoely

datajoely

01/04/2022, 9:29 AM
Okay you can use
yaml.YAMLDataSet
in your data catalog, you don't need to use the yaml library yourself
u

user

01/04/2022, 9:41 AM
My point when showing this was that
9:42 AM
The YAML data set would throw an error
9:42 AM
When I tried to return a dictionary from a node
datajoely

datajoely

01/04/2022, 9:42 AM
oh sorry I got mixed up with the messages
u

user

01/04/2022, 9:42 AM
yet it would NOT when i ran it locally
9:42 AM
no worries
9:42 AM
all good
datajoely

datajoely

01/04/2022, 9:42 AM
👍