lexonomy_custom_editor/src/message/__init__.py
2019-11-05 22:18:20 +01:00

9 lines
236 B
Python

from message.simple_messages import ListItemClick
def msg(message_class):
from update import update
def callback(arg):
message_instance = message_class(arg)
update.schedule(message_instance)
return callback