]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Check tokens in chop path for inspectionattr before calling is_mapper
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jul 2018 23:10:36 +0000 (19:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jul 2018 23:10:36 +0000 (19:10 -0400)
commitaec57258b3b33fe070ebb54f31f1627db07f072b
tree93dfb251684d782b310416dcb6a823e97791beb8
parent284009683d9e48e19cc09e740e7b928c2c02997c
Check tokens in chop path for inspectionattr before calling is_mapper

Fixed regression in 1.2.9 due to :ticket:`4287` where using a
:class::`.Load` option in conjunction with a string wildcard would result
in a TypeError.

Change-Id: I2997ead0b8b9fa0edd009aa6f3161f4618fab97b
Fixes: #4298
doc/build/changelog/unreleased_12/4298.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_options.py