[Twisted-Python] Simplifying database access in Twisted

Andrew Bennetts andrew-twisted at puzzling.org
Thu Jun 19 19:07:28 MDT 2003


On Thu, Jun 19, 2003 at 08:58:11PM -0400, Itamar Shtull-Trauring wrote:
> On Thu, 19 Jun 2003 23:13:07 +0200
> "Thomas Weholt" <2002 at weholt.org> wrote:
> 
> > Just read thru http://www.twistedmatrix.com/documents/howto/enterprise
> > and tried to fit the code to my needs, but ... this seems way too
> > complicated. All I want is to execute a SQL-query and do something
> > similar to fetchone or fetchall etc. in the DB-API 2.0 spec. I don't
> > want to be forced to write classes and callbacks etc. just for a
> > simple list of tuples or something returned from a SQL-query.
> 
> I updated the docs in CVS so they don't discuss Augmentation and instead
> talk about the nice clean API that ConnectionPool exposes.

Does this mean that Augmentation should raise DeprecationWarnings?

-Andrew.





More information about the Twisted-Python mailing list