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
Serina
03/19/2024, 3:52 AM
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.
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.