def on_create(connection):
    def on_connect(session):
        session.on_join(on_join)
        session.join(u'public')

    # we attach our listener code on the connection. whenever there
    # is a session created which has joined, our callback code is run
    connection.on_connect(on_connect)
When calculating the next version to release when a release is
dataset/ETHPy150Open crossbario/autobahn-python/examples/twisted/wamp/work/newapi/test_newapi.py/on_create--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/ChangeVersionTest.test_getNextVersionAfterYearChange