You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this doesn't seem to work because the force_delete_check argument (lambda file: False) can't be pickled.
We need to find an alternative way of how to pass the check to the task in a pickle-friendly way.
I'm thinking of a classic object_or_import_string here, maybe there's better alternatives though.
The text was updated successfully, but these errors were encountered:
Package version (if known): 1.5.0
Describe the bug
The
clear_orphaned_files
task specifies that i can be scheduled by adding a configuration entry to theCELERY_BEAT_SCHEDULE
like so:However, this doesn't seem to work because the
force_delete_check
argument (lambda file: False
) can't be pickled.We need to find an alternative way of how to pass the check to the task in a pickle-friendly way.
I'm thinking of a classic
object_or_import_string
here, maybe there's better alternatives though.The text was updated successfully, but these errors were encountered: