diff options
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 77aa950c0..907b1930b 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -830,6 +830,7 @@ class Connection(Connectable): """ self.engine = engine + self.dialect = engine.dialect self.__connection = connection or engine.raw_connection() self.__transaction = None self.should_close_with_result = close_with_result @@ -887,12 +888,6 @@ class Connection(Connectable): return c @property - def dialect(self): - "Dialect used by this Connection." - - return self.engine.dialect - - @property def closed(self): """Return True if this connection is closed.""" |