Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on March 13, 2022 12:31PM
Likes: 1
Replies: 1
Hi,
Python based templating engines like jinja and mako allow users to 'print' text in various formats, using conditional logic statements like if-else and for loops. I think dataiku should offer an off the shelf Python based templating engine that would allow users to upload their template(s) and pass a `context dict` to the templating engine to apply. The templating engine would be a recipe in and of itself where users could define a context dictionary in JSON like variables. Or they could add dataset inputs that they could preprocess with Python to generate their context dict. The output would the printed files, either as standalone files or as a dictionary of strings with the key being the name of the printed file and the value being the printed text.
thx