Pedro Machado
10/02/2020, 3:23 AMdir
for a LocalResult
at run time? I am setting it based on a context variable but it seems to be getting the value of the variable at registration time.
@task(
target="ftp_{start_date}_{end_date}.done",
result=LocalResult(dir=prefect.context.local_results_dir),
)
def mytask(start_date, end_date):
pass
Chris White
Pedro Machado
10/02/2020, 5:33 AM