Riley Hun01/14/2021, 2:46 AM
I've encountered this error before and usually it's due to version conflicts. This time, I can confirm that all my prefect versions are consistent between my local machine and docker images. I also submitted the flow using the same prefect version
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?
. My prefect server is hosted on kubernetes, and I'm submitting my flow using docker storage from my local machine. When I bash into my docker container, I can see that the flow is indeed there. I'm able to run the flow against the Dask Cluster no problem.
so this does suggest a version mismatch somewhere. In particular, this suggests you registered a flow with
and ran it with
Riley Hun01/14/2021, 10:07 PM
when I had checked, but just to be sure I re-deployed and the issue seems to have been resolved. I'm not sure what happened to be honest. But no issue anymore.