it’s dumb because you have to know what type of protobuf you have.
Dylan Wilder
3 months ago
Ah but this containers the literal types like primitive stringvalue etc
Yee
3 months ago
oh you want a normal representation?
there’s nothing for that, short of converting them into pure python native values, but that’s complicated.
Dylan Wilder
3 months ago
Yea literally what appears in flyte console
Yee
3 months ago
unf that’s probably done in js/ts only
can ask nastya if you’d like?
Dylan Wilder
3 months ago
That's fine. Just need the example
Yee
3 months ago
the code that does this?
Dylan Wilder
3 months ago
Yes
Yee
3 months ago
@Nastya Rusina or @Carina Ursu - can you point us to the JS/TS code that prettifies the flyte literal values? so that you don’t get “Literal(Scalar(Primitive(….”
Nastya Rusina
3 months ago
Carina could be a better person to check with as she is literally makes it better right now 😃