Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)
base representation of a Variable (purely a convenience alias of MsgVariableData)

Variable expects a name, and data

src/p/y/pyogp.lib.base-0.1/pyogp/lib/base/event_queue.py   pyogp.lib.base(Download)
# messaging
from pyogp.lib.base.message.message_handler import MessageHandler
from pyogp.lib.base.message.message import Message, Block, Variable
from pyogp.lib.base.message.template_dict import TemplateDictionary
                                        for variable in block_data:
                                            var_data = Variable(variable, block_data[variable], -1)
                                for var in message['body']:
                                    var_data = Variable(var, message['body'][var], -1)