lemon-intern-77136
10/21/2022, 7:51 PMd = {}
d['user'] = ['default'] + [aDictWithAnOutputInstance] + [anotherDictWithOutputInstances]
d['other_stuff'] = ...
d['more_things'] = {'more_things_1': againAnOutputInstance, 'more_things_2': 'regular string'}
y = yaml.dump(d, Dumper=yaml.Dumper)
Any ideas how to make this work? The .apply
and .concat
idioms don’t seem to work here…billowy-army-68599
apply
if you have multiple output objects, use output.all
lemon-intern-77136
10/21/2022, 10:00 PMOutput.format
?AttributeError: type object 'Output' has no attribute 'format'
when I try and use it.billowy-army-68599
lemon-intern-77136
10/24/2022, 3:29 PM