]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure .engine is part of Connectable interface, implement as descriptor
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Jul 2019 14:42:20 +0000 (10:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Jul 2019 14:42:20 +0000 (10:42 -0400)
commit3238d953b42f67761dc3019bd27f2960ae2e525f
treef90962b324be393a1b9130b4de01040fea4a38d0
parentdd453e19a79785e91463cd2b37d12a1d0f36c03a
Ensure .engine is part of Connectable interface, implement as descriptor

Fixed bug where using reflection function such as :meth:`.MetaData.reflect`
with an :class:`.Engine` object that had execution options applied to it
would fail, as the resulting :class:`.OptionEngine` proxy object failed to
include a ``.engine`` attribute used within the reflection routines.

Fixes: #4754
Change-Id: I6c342af5c6db6fe362b9d25f3f26d6859f62f87a
doc/build/changelog/unreleased_13/4754.rst [new file with mode: 0644]
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/interfaces.py
test/engine/test_execute.py
test/engine/test_reflection.py