The original document you referenced has three examples of how to have a class created on each request with environ captured in constructor. Look for those examples where it uses:
application = Application Graham On 20 October 2011 05:36, Gnarlodious <[email protected]> wrote: > So... instead of __call__ I should use __iter__, which must return at > least one yield string. > > That clarifies it, I think. I'll experiment with it over the next few > days. > > -- Gnarlie > http://Gnarlodious.com > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
