Hi everyone, I'm trying to persist the results of my tasks. Referred to the docs and I found that we can rename the persisted file using the result storage key. However, when I tried to use it in my task decorator, the error is
TypeError: task() got an unexpected keyword argument 'result_storage_key'
. I'm using Prefect version 2.8.2.
n
Nate
06/01/2023, 6:38 PM
hi @juana this error appears to be because you're passing the
result_storage_key
to the task's function instead of the task decorator itself. you should be able to pass it like
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.