Re: [Sqlalchemy-users] getting the global proxy engine for transaction management

2006-05-23 Thread Brad Clements
On 23 May 2006 at 21:01, Luís Bruno wrote: class DatabaseMiddleware(object): def __init__(self, application, global_conf, db_uri=None, echo=False, **kw): This looks very much like the paste.filter_app_factory protocol, don't you agree? You might as well move the

Re: [Sqlalchemy-users] getting the global proxy engine for transaction management

2006-05-22 Thread Luís Bruno
Brad Clements wrote: Since I'm using the latest svn, is any of the 0.2 stuff in the trunk? I think all the 0.2 stuff was being done on the -schema branch: svn co http://svn.sqlalchemy.org/sqlalchemy/branches/schema I *think* Mike hasn't moved anything from -schema into -trunk. I'm using

Re: [Sqlalchemy-users] getting the global proxy engine for transaction management

2006-05-20 Thread Alex Greif
I use something like this: global_connect('postgres://database=...') engine = schema.default_engine.get_engine() engine.echo = True engine.begin() objectstore.begin() ... HTH Alex. On 5/21/06, Brad Clements [EMAIL PROTECTED] wrote: I'm using the current svn checkout of