The Task assign_collections method will assign Collection(s) to Items in the payload Features list using collection_matchers. Items that exist independent of a payload (for instance a newly created Item) do not have such an option. Create a method that will do essentially what assign_collections does, only without requiring the Features list. Or, maybe, change assign_collections so that it can accept an Item or list of Items, and just handle it from there...
The Task
assign_collectionsmethod will assign Collection(s) to Items in the payload Features list usingcollection_matchers. Items that exist independent of a payload (for instance a newly created Item) do not have such an option. Create a method that will do essentially whatassign_collectionsdoes, only without requiring the Features list. Or, maybe, changeassign_collectionsso that it can accept an Item or list of Items, and just handle it from there...