taskiq icon indicating copy to clipboard operation
taskiq copied to clipboard

Warn people of unset result backend

Open s3rius opened this issue 8 months ago • 3 comments

@s3rius Thank you for the quick answer, and it was exactly this. Maybe we should emphasize this in the documentation or put a warning when we use a .wait_for with not Result Backend setup ?

I'm closing this anyway, thanks again!

Originally posted by @sorasful in #426

When the result backend is not specified, wait_for_result will return an empty result without actually waiting for the task to be completed. We should generate a warning or raise an exception to inform users that waiting for a result without a result backend is not possible.

s3rius avatar Mar 19 '25 20:03 s3rius

Can I work on this?

igor-gorohovsky avatar Mar 19 '25 20:03 igor-gorohovsky

Sure, please do.

s3rius avatar Mar 19 '25 21:03 s3rius

Thanks. I'll dig into that this week.

igor-gorohovsky avatar Mar 19 '25 22:03 igor-gorohovsky