Brad Clements wrote:
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.

It dies, yes. I stopped reading after create_engine(), which claims to pass the **kw down to the engine. The strategy passes those arguments to the dialect, and that's where they really die.

But that's where you need them, right? I think the firebird.py I have is Mike's; but if you need to implement a Dialect...

I wonder why **kw are accepted in ComposedSQLEngine, because its __init__() doesn't use them, and both superclasses don't have an __init__() method.

--
Luís "Now with a little less blood in the caffeine system" Bruno


-------------------------------------------------------
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

Reply via email to