[Twisted-Python] async code structure question

snacktime snacktime at gmail.com
Thu Feb 10 14:46:15 EST 2005


> 
> Somehow authorize needs to have the deferred accessible. There's no
> magical Deferred way of doing this, you do it the way that you'd make
> any other piece of data accessible to a method: pass it to the method,
> or having it accessible as self.d would be the standard ways.


Ok that's what I was afraid of but I wanted to double check.  I do
have a global request object that I use throughout most of my classes
so that won't be too much work.

Chris




More information about the Twisted-Python mailing list