Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/worker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ The second way is to use ``Worker.enqueue_unsafe``:

This method is not type-safe, but it doesn't require you to re-define the task signature in the backend. Here, the first parameter is the ``fn_name`` of the task defined elsewhere, and the rest of the args and kwargs can be passed normally.

.. important::

If using the (default) pickle serializer/deserializer, the result/exception objects used must be accessible to both the backend and worker as well.

This may be done by moving them to a shared module, copying them between codebases, or just using builtin ones.

Task-related functions
----------------------

Expand Down