[Twisted-web] Accessing ISession from formless autocallable

Christopher Armstrong radeex at gmail.com
Wed Dec 15 02:06:10 MST 2004


autocallables don't actually automatically get request. presumably you
have something like "request=annotate.Request()" in your autocallable
definition. Just change that to "context=annotate.Context()".


On Wed, 15 Dec 2004 01:03:51 -0800, Michael Wilson
<michael.wilson at gmail.com> wrote:
> An autocall gets (self, request...), but not context. If I want to set
> session variables (as discussed in the previous exchange), how can I
> do it without ctx?
> 
> Thanks!
> 
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
> 
> 


-- 
  Twisted   |  Christopher Armstrong: International Man of Twistery
   Radix    |    -- http://radix.twistedmatrix.com
            |  Release Manager, Twisted Project
  \\\V///   |    -- http://twistedmatrix.com
   |o O|    |  Founding Member, Hobart Hacking Society
w----v----w-+    -- http://hackingsociety.org/chapters/hash



More information about the Twisted-web mailing list