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

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

src/b/r/BridgePython-0.2.2/BridgePython/bridge.py   BridgePython(Download)
            data = {'name': name}
            if callback:
                data['callback'] = serializer.serialize(self, callback)
            self._connection.send_command('JOINWORKERPOOL', data)
 
            data = {'name': name}
            if callback:
                data['callback'] = serializer.serialize(self, callback)
            self._connection.send_command('LEAVEWORKERPOOL', data)
 
            logging.warn('Deprecated -- the joinChannel API has been revised.')
            writeable, callback = True, writeable
        data = {'name': name, 'handler': serializer.serialize(self, handler), 'writeable': writeable}
        if callback:
            data['callback'] = serializer.serialize(self, callback)
        attached to the channel.
        '''
        data = {'name': name, 'handler': serializer.serialize(self, handler)}
        if callback:
            data['callback'] = serializer.serialize(self, callback)

src/b/r/bridge-python-HEAD/BridgePython/bridge.py   bridge-python(Download)
            data = {'name': name}
            if callback:
                data['callback'] = serializer.serialize(self, callback)
            self._connection.send_command('JOINWORKERPOOL', data)
 
            data = {'name': name}
            if callback:
                data['callback'] = serializer.serialize(self, callback)
            self._connection.send_command('LEAVEWORKERPOOL', data)
 
            logging.warn('Deprecated -- the joinChannel API has been revised.')
            writeable, callback = True, writeable
        data = {'name': name, 'handler': serializer.serialize(self, handler), 'writeable': writeable}
        if callback:
            data['callback'] = serializer.serialize(self, callback)
        attached to the channel.
        '''
        data = {'name': name, 'handler': serializer.serialize(self, handler)}
        if callback:
            data['callback'] = serializer.serialize(self, callback)

src/b/r/bridge-python-HEAD/test/unit/test_serializer.py   bridge-python(Download)
            'i': test4
            }
        ser = serializer.serialize(dummy, obj)
 
        self.assertTrue([test1, ['a', 'b']] in dummy.stored)