From 695df8af096b51a0121801734837e5d917db2386 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 9 Oct 2024 00:16:09 -0700 Subject: [PATCH] Update handlers.py --- src/documents/signals/handlers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.py index d7470af35..32c6aa6c7 100644 --- a/src/documents/signals/handlers.py +++ b/src/documents/signals/handlers.py @@ -538,8 +538,9 @@ def run_workflows( """Run workflows which match a Document (or ConsumableDocument) for a specific trigger type. Assignment or removal actions are either applied directly to the document or an overrides object. If an overrides - object is provided, the function returns the object with the applied changes and a string of messages for each action. - If no overrides object is provided, the changes are applied directly to the document and the function returns None. + object is provided, the function returns the object with the applied changes or None if no actions were applied and a string + of messages for each action. If no overrides object is provided, the changes are applied directly to the document and the + function returns None. """ def assignment_action():