Re: help with writing a python client

2008-01-30 Thread D Bera
> > > >>> resp = client.send_request(query) > > > >>> resp > > > > > (BeagleSearchTermResponse at 0x81ee600)> > > Interesting. Like dBera mentioned query requests have to be sent > asynchronously. > > I thought that trying to start a query synchronously would throw an > exception or an error resp

Re: help with writing a python client

2008-01-30 Thread Joe Shaw
Hi, On Jan 30, 2008 1:16 PM, D Bera <[EMAIL PROTECTED]> wrote: > > >>> resp = client.send_request(query) > > >>> resp > > > (BeagleSearchTermResponse at 0x81ee600)> Interesting. Like dBera mentioned query requests have to be sent asynchronously. I thought that trying to start a query synchrono

Re: help with writing a python client

2008-01-30 Thread D Bera
Hi, > I am trying to write a python client by examining the libbeagle api > (since it looks like python module is just a wrapper). So far I have > this python test > > >>> import beagle > >>> client = beagle.Client() > >>> query = beagle.Query() > >>> query.add_text('images') > >>> resp = client.

help with writing a python client

2008-01-30 Thread Ryan Wynn
Hi, I am trying to write a python client by examining the libbeagle api (since it looks like python module is just a wrapper). So far I have this python test >>> import beagle >>> client = beagle.Client() >>> query = beagle.Query() >>> query.add_text('images') >>> resp = client.send_request(quer