Hannah Amundson
08/12/2020, 4:12 PMalex
08/12/2020, 4:14 PMprefect.context.today
will give you the current date inside any task. If you want to make use it as a default parameter, couldn't you just use datetime.today()
as the default?Hannah Amundson
08/12/2020, 5:01 PMalex
08/12/2020, 5:24 PMprefect.context.date
will work
https://docs.prefect.io/api/latest/utilities/context.htmlSkip Breidbach
08/12/2020, 9:26 PMnull
or something similar.Hannah Amundson
08/12/2020, 9:31 PM