Exemplo n.º 1
0
    def initialize_table(self):
        self.session.add_all([
            Server(network_id=1, address="irc.gamesurge.net", port=6667,
                   nickname="ppbot", alt_nickname="ppbot",
                   realname="Powered by Dong Energy"),
        ])

        Model.initialize_table(self)
Exemplo n.º 2
0
    def initialize_table(self):
        self.session.add_all([
            Network('gamesurge')
        ])

        Model.initialize_table(self)
Exemplo n.º 3
0
    def initialize_table(self):
        self.session.add_all([
            Channel(network_id=1, name="#dong"),
        ])

        Model.initialize_table(self)