https://flyte.org logo
#flytekit
Title
# flytekit
t

Tarik

06/27/2022, 9:18 PM
Hi, is it possible to know why it not recommended to drive any production logic on the execution_date ? My use case is the following : I want to schedule a dag every day to load data from an API, the Api require a date, I want to to use the execution date, to me it a safe usage please let me know if I am wrong
k

katrina

06/27/2022, 9:33 PM
hi @Tarik you can always pass the schedule time as a workflow argument e.g. `kickoff_time_input_arg`here ttps://docs.flyte.org/en/latest/concepts/schedules.html#concepts-schedules
t

Tarik

06/27/2022, 9:39 PM
thank-you I will try this way
2 Views