Hello! There was a very useful function in the Prefect 1 UI where you can copy input parameters directly in json format into a GUI object before executing a custom run. In Prefect 2, it looks like there is only an option to enter input into fixed text boxes. This is pretty cumbersome if you’re dealing with a large number of parameters with only some requiring minor tweaks. Am I missing some functionality in the GUI to be able to do this, or is there a roadmap item to add this (or is it ok to submit a feature request for this if not)?
:upvote: 3
c
Christopher Boyd
02/01/2023, 4:16 PM
you can pass in kwargs as parameters with a json object
Thanks for the tip @Christopher Boyd! This might be a work-around but this seems pretty less-than-ideal if we actually want to keep our parameters separately defined for each deployment level and want to take advantage of GUI features like embedded documentation, toggle switches, etc. (see attached image).
I think the functionality we’d want is to have the option of both, similar to the “json” toggle available in Prefect 1.
Unless that is actually possible right now and I am misunderstanding your suggestion?
c
Christopher Boyd
02/01/2023, 8:22 PM
You’re right, it’s more or less a workaround at the moment, but it is being discussed for implementation
i
Ilya Galperin
02/01/2023, 8:24 PM
Understood, thanks! Will wait to see what happens 🙂