This message was deleted.
# ask-anything
s
This message was deleted.
e
FrozenJSON is the internal representation that allows accessing dictionaries with the dot notation. I borrowed it from the book back when ploomber didn't support notebooks (it was all functions back then). If I understand correctly Ploomber is injecting a string instead of a list? This sounds like a bug. Can you provide a minimal example so I can reproduce it?
My guess is that the problem lies in the frozenJSON to list conversion
w
yeah it is returning this (one sec)
i’ll see if i can put together a more minimal example than the one im using now but that should at least put you on the path. for now i can just externalize this thing outside of env.yaml. thanks
ok i have a minimal example. not in a place where it's convenient to create a ticket right now but i can give you one case that parses correctly and one that returns the internal representation
so if i have foo: { bar: “baz” } , it shows up as expected in the notebook
if i have foo: [ { bar: “baz” } ], that shows up with the frozen json
e
Great! Thanks a lot for sending this! I have an idea of where the error is. I'll experiment a bit but should be fairly easy to fix.
👍 1
w
it seems to be that if the value is a list of complex types, it doesnt parse. a list of strings works, and a child that's a complex type works, but a list of complex types fails
good luck! :)