-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move is_completed local function to method
The `is_completed(task)` function within the `update()` method of the CompleteWorkItemSerializer was confusing to read, as it wasn't clear about it's purpose (telling the caller whether the process can continue if all siblings are completed). Moving to a method for future subclassing, for example in the `Skip` serializer coming up next.
- Loading branch information
David Vogt
committed
Oct 31, 2019
1 parent
d869b2d
commit 2d06f9d
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters