mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 12:51:32 +00:00
Restore generate_messages_from_queue()
This commit is contained in:
parent
09ffe2bdcf
commit
13179e59eb
@ -28,3 +28,11 @@ class MessageSender:
|
||||
'key': 'message.config',
|
||||
'originator': originator
|
||||
})
|
||||
|
||||
@staticmethod
|
||||
def generate_messages_from_queue(queue_message):
|
||||
for message in queue_message['value']:
|
||||
yield {
|
||||
'key': 'message.send',
|
||||
**message
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user