Hey y'all, I was wondering if any worked on this s...
# best-practices
s
Hey y'all, I was wondering if any worked on this scenario. I have a scheduled deployment flow running everyday peacefully. During scheduled flow, it doesn't need any variable as it takes the current timestamp. But sometimes, when testing I want to pass in a variable like an old timestamp. How to pass variables in prefect UI. How do I mention this in the function.
1
s
you could probably just add an optional param to your flow fn signature and then when you want to pass it into the flow you can create an ad hoc deployment run in the UI and pass in the timestamp arg.
🙏 1
upvote 1