Re: [Twisted-Python] runInteraction function returning a deferred

2010-06-29 Thread Landreville
On Mon, Jun 28, 2010 at 2:59 PM, Glyph Lefkowitz wrote: > > On Jun 28, 2010, at 10:19 AM, Landreville wrote: > > Is there some way for runInteraction to wait for this deferred to be > finished before ending the transaction? > > blockingCallFromThread: > http://twistedmatrix.com/documents/10.0.0/ap

Re: [Twisted-Python] runInteraction function returning a deferred

2010-06-28 Thread Glyph Lefkowitz
On Jun 28, 2010, at 10:19 AM, Landreville wrote: > Is there some way for runInteraction to wait for this deferred to be > finished before ending the transaction? blockingCallFromThread: http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.threads.html#blockingCallFromThread :)___

[Twisted-Python] runInteraction function returning a deferred

2010-06-28 Thread Landreville
I am working with a third-party web-scraping application that also uses twisted (Scrapy) and would like for it to do its thing in a transaction along with a database action. This can be done with runInteraction, but Scrapy uses a non-blocking call when it does its thing. This actually doesn't even