diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-12 20:50:51 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-12 20:50:51 +0000 |
| commit | ecee1fb16cf6b7b5d01187191ea23260b8bcef2a (patch) | |
| tree | 58c9e83ed89f7b94bb6162ad9ab10a03281c31ae /lib/sqlalchemy/engine/base.py | |
| parent | 2d4e0d27dcbf9e7ab5718b203812c54c61ec3a40 (diff) | |
| download | sqlalchemy-ecee1fb16cf6b7b5d01187191ea23260b8bcef2a.tar.gz | |
- create_engine() reworked to be strict about incoming **kwargs. all keyword
arguments must be consumed by one of the dialect, connection pool, and engine
constructors, else a TypeError is thrown which describes the full set of
invalid kwargs in relation to the selected dialect/pool/engine configuration.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
| -rw-r--r-- | lib/sqlalchemy/engine/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 07a88659b..205e5aa02 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -396,7 +396,7 @@ class Engine(sql.Executor, Connectable): Connects a ConnectionProvider, a Dialect and a CompilerFactory together to provide a default implementation of SchemaEngine. """ - def __init__(self, connection_provider, dialect, echo=None, **kwargs): + def __init__(self, connection_provider, dialect, echo=None): self.connection_provider = connection_provider self.dialect=dialect self.echo = echo |
