https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Aric Huang

04/13/2023, 6:01 PM
Hi, in Prefect V2 when doing a custom run from a deployment, is it possible to pass a JSON object with custom parameters from the UI? This was possible in V1 but I'm not seeing a way to do that in V2, it seems to only allow setting parameters one by one. We have flows with lots of parameters, so would prefer to pass entire JSON objects instead of manually setting them one by one.
d

Deceivious

04/13/2023, 7:50 PM
I believe you can set the input parameter to Dict or List and it would accept them.
a

Aric Huang

04/13/2023, 8:15 PM
I would prefer not to collapse all the parameters into a single dict/list
for example in V2, this is the UI I see for passing custom params:
vs in V1 I could click "JSON" to pass an object containing all the params:
3 Views