Allow stopping collecting in on_collect #140
Labels
No labels
Doing
To Do
bug
clarification needed
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nik/veripeditus-server#140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a boolean check after on_collect so if on_collect returns a boolean False, the item is not collected.
Added ~6 label
on_collect is a method specifically designed to run code when an Item is collected. To test whether the Item may be collected we already implemented a method may_collect, which returns True unless the method is rewritten for a class. When may_collect returns False, the collection will automatically be aborted.
Status changed to closed