[Twisted-Python] Woven using wrong model adapter

Christopher Armstrong radix at twistedmatrix.com
Tue May 27 03:54:29 EDT 2003


On 2003.05.27 01:56, Donovan Preston wrote:
> 
> On Monday, May 26, 2003, at 10:02 PM, Kevin Turner wrote:
> >
> > Am I violating some unwritten contract here which says "a model factory
> > must always return models with the same interface"?
> 
> A model factory must always return an object with the same identity 
> within one request. 

With such a restriction, it seems there's no reason to *call* the model
factory multiple times per request. Shouldn't this be prevented?

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list