Is there a way to use multiline parameters in the Prefect Cloud UI?
n
nicholas
03/30/2021, 3:13 AM
hi @Trevor Kramer - the run tab lets you input your parameters as JSON instead of the normal input fields using the toggle above the parameters section, is that what you were thinking?
t
Trevor Kramer
03/30/2021, 11:27 AM
That doesn't work either.
Trevor Kramer
03/30/2021, 11:31 AM
You can use
\n
in the json which does work but it is pretty inconvenient to do that translation for more than a line or 2
{
"json": "blah\n\nhere",
"stack": "prod"
}
n
nicholas
03/30/2021, 2:46 PM
Got it; in which case no - JSON doesn't support multi-line strings (without newline characters) so the UI doesn't at the moment either.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.