October 2018
Beginner to intermediate
736 pages
17h 39m
English
The relevant story for an Artisan's need to delete a Product, from the list earlier, is:
As noted earlier, deletion actions really only require the oid of the item being deleted in order to successfully execute. Any other information would be wasted bandwidth, though if that's not a concern, the code for a deletion really only differs in the operation sent in the message again:
product_message = DaemonMessage(
'delete', product_to_delete.to_message_data(), signing_key
)
sender = RabbitMQSender()
sender.send_message(product_message)
Executing a more tightly focused message is not difficult—it doesn't require anything ...