Also, if I run the following: ```import yaml yaml...
# beginners-need-help
j
Also, if I run the following:
Copy code
import yaml
yaml.dump(node_function(INPUT).to_dict(), open("charles.yml", "w"))
No error happens
d
This one is a bit weird - it's not really a Kedro issue, what are you trying to achieve here?
j
I wanted to have a node output YML instead of CSV
CSV filetype worked and then YML did not work
d
Okay you can use
yaml.YAMLDataSet
in your data catalog, you don't need to use the yaml library yourself
u
My point when showing this was that
u
The YAML data set would throw an error
u
When I tried to return a dictionary from a node
d
oh sorry I got mixed up with the messages
u
yet it would NOT when i ran it locally
u
no worries
u
all good
d
👍