Closed schuylermartin45 closed 1 year ago
So this might be partly my fault. I wasn't aware of the from_file
factory method until I noticed that my recipe wasn't loading the contents of a file using the default constructor.
That being said, I don't see any docs suggesting that I should be using a factory method over the constructor, so I'm sure other devs might make that same mistake.
We envision a future where the parse-tree mode becomes the primary parser. When that integration is done, this ticket is no longer relevant. Closing.
I get a
NoneType
exception when I construct aRecipe
with just a file path specified.I think this is caused by
renderer=None
in the constructor. Based off of theanaconda-linter
project it looks like I should be setting it toRendererType.RUAMEL
. I'm guessing support for alternativerenderer
s is limited right now, so should we elect to require this argument or pick another default?