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 the current svn checkout of sqlalchemy, and trying to integrate it with paste.

Since we're on the subject, here's how I've done it: in a module, I've defined a filter_app_factory (metadata and tableList are module-level):

def factory(application, global_conf, database, tables):
    metadata = BoundMetaData(database)
    for name in tables.split():
        tableList[name] = Table(name, metadata, autoload=True)

    return application

Any comments on this approach?

Cheers,
--
Luís Bruno



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to