On 30 May 2006 at 23:17, Luís Bruno wrote: > def filter_app_factory(application, global_conf, dburi, **kw): > global_connect(dburi, **kw) > return application >
Yeah, maybe. However in tracing global_connect down, it seems to go through create_engine and then to ComposedSQLEngine and kwargs dies there. So for threadlocal approach anyway, kw args passed to global_connect will NOT make it to the FireBird engine. And anyway, there's a bunch of kwargs (echo, logger, pool, ..) some of which might conflict with an engine's special args.. But lets try a different argument. Firebird fails unittests because kinterbasdb.init() has to be called exactly once with the correct argument for the current python deployment (depending on which python version, wether using MxDateTime or not..) So how do I tell firebird engine the values to pass to kinterbasdb.init() when runing the tests? The only way is through the db uri. And since the global_connect method won't work either, I'm back to my oringial request.. allowing arbitrary args in a db uri. -- Brad Clements, [EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users