Martin O'Leary
09/23/2022, 5:38 PMMetadataValue
class to emit compiled SQL and have it print nicely in the asset catalog?owen
09/23/2022, 6:35 PM{"compiled_sql": "<compiled sql goes here>"}
, this will just be formatted as normal text (even if you wrap it in triple backticks). Your intuition about using MetadataValue is totally correct though -- if instead have your metadata value be MetadataValue.md
(md = markdown), then things will render properly. So the full solution would be passing `{"compiled_sql": MetadataValue.md("```<compiled sql goes here>```")}`Martin O'Leary
09/26/2022, 7:44 AM