

def createNodeAndConfigure(self, pubsub, node):
    '\n        Defautl configuration for node\n        '
    configure = ConfigureMessage()
    configure.addOption('pubsub#persist_items', 0)
    configure.addOption('pubsub#publish_model', 'open')
    configure.addOption('pubsub#send_last_published_item', 'never')
    return self.createNode(pubsub, node, configure)

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent.createNodeAndConfigure/original