diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-01-02 01:29:38 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-01-02 01:29:38 +0000 |
commit | a8b62a02ddc21d622c08ab0b05923fbe71eda36d (patch) | |
tree | 019e7f88be4f0a7d30fc5dd2d870d07a09755ff4 /lib/sqlalchemy/sql/compiler.py | |
parent | 02a4176a657d54027703de5bbb4d4041ef271fe4 (diff) | |
download | sqlalchemy-a8b62a02ddc21d622c08ab0b05923fbe71eda36d.tar.gz |
- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly
- _handle_dbapi_exception() usage changed so that unwrapped exceptions can be rethrown with the original stack trace
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index cf6d14714..9e8b0f488 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -218,8 +218,8 @@ class DefaultCompiler(engine.Compiled): return pd else: return dict([(self.bind_names[bindparam], bindparam.value) for bindparam in self.bind_names]) - - params = property(lambda self:self.construct_params(), doc="""return a dictionary of bind parameter keys and values""") + + params = property(construct_params) def default_from(self): """Called when a SELECT statement has no froms, and no FROM clause is to be appended. |