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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/t/h/thbattle-HEAD/src/client/ui/screens.py   thbattle(Download)
                        y, x = divmod(i, 5)
                        x, y = 30 + 100*x, 250 - 60*y
                        acc = Account.parse(p['account'])
                        s = Button(
                            acc.username,
            for i, p in enumerate(pl):
                accdata = p['account']
                acc = Account.parse(accdata) if accdata else None
                if not accdata: full = False
 

src/t/h/thbattle-HEAD/src/client/core/executive.py   thbattle(Download)
                data1 = []
                for p in data:
                    acc = Account.parse(p['account'])
                    for i, pl in enumerate(self.game.players):
                        if pl.account.userid != acc.userid: continue
        def your_account(self, accdata):
            self.account = acc = Account.parse(accdata)
            self.event_cb('your_account', acc)
 
        @handler(None, None)

src/t/h/thbattle-HEAD/src/client/core/game_client.py   thbattle(Download)
    def update(self, data):
        # data comes from server.core.Player.__data__
        self.account = Account.parse(data['account'])
        self.state = data['state']