October 2018
Beginner to intermediate
736 pages
17h 39m
English
The relevant story for an Artisan's need to update Product data, from the list earlier, is:
The only real difference between Artisan update and create transactions is the operation associated with the outgoing message—we've already included the modified property in the results of to_message_data in Artisan Product objects:
product_message = DaemonMessage(
'update', product_to_update.to_message_data(), signing_key
)
sender = RabbitMQSender()
sender.send_message(product_message)
Data alterations originating from an Artisan are, from a process standpoint, identical to data changes that originate from a Central ...