[Twisted-Python] setting perspective arg to getStateToCacheAndObserveFor

Marvin McNett mmcnett at cs.ucsd.edu
Tue Oct 24 17:16:01 EDT 2006


How does one go about setting the perspective parameter to 
twisted.spread.flavors.Cacheable.getStateToCacheAndObserveFor method? 
I'd like to return different information based on what type of observer 
is subscribing.  I've looked over and tested the example in the 
documentation, but it's always None.  I also looked over the source, but 
it's not obvious to me.

Thanks,
-Marvin




More information about the Twisted-Python mailing list