https://prefect.io logo
e

Eric

10/04/2020, 6:28 PM
Any thoughts on this error? AttributeError: 'FunctionTask' object has no attribute task_run_name. Did you call this object within a function that should have been decorated with @prefect.task? This is how I'm setting up the task dectorator
Copy code
@task(name="DF", log_stdout=True)
c

Chris White

10/05/2020, 12:25 AM
Hi Eric - the PR that introduced the
task_run_name
attribute was only merged a few days ago; with only the details you’ve provided here, this error seems like some sort of version mismatch
2 Views