https://prefect.io logo
Title
y

YZ

10/04/2022, 9:43 PM
Hello, I am new to using Prefect. I have a task defined as below. I noticed when it fails and retries, the input value got lost. original run
my_task(run_date="20221004")
retrying run:
my_task(run_date=None)
Any idea what I might have done wrong, or any workaround?
@task(retry_delay=timedelta(minutes=30), max_retries=10)  # wait for up to 5 hours
def my_task(run_date: str):
k

Kalise Richmond

10/04/2022, 11:41 PM