From fd8d4a45ea1c2087ed3c4a86bf5f889b194fdb48 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 1 Mar 2006 21:20:59 +0000 Subject: made SchemaEngine more prominent as the base of Table association BaseProxyEngine descends from SchemaEngine fixes to sqlite/postgres reflection to use the correct engine for table lookups Table engine can be none which will default to schema.default_engine (although its still positional for now, so still needs to be explicit to make room for Columns) __init__ sets default_engine to be a blank ProxyEngine fixes to test suite to allow --db proxy. to really test proxyengine --- lib/sqlalchemy/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sqlalchemy/__init__.py') diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index d38a557f9..5efbf6652 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -11,3 +11,7 @@ from schema import * from exceptions import * import mapping as mapperlib from mapping import * + +import sqlalchemy.schema +import sqlalchemy.ext.proxy +sqlalchemy.schema.default_engine = sqlalchemy.ext.proxy.ProxyEngine() -- cgit v1.2.1