[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Allow metadata.reflect() to recover from unreflecta
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-05-22 19:52:34
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/9f0fb6c60182/ Changeset: 9f0fb6c60182 Branch: master User: zzzeek Date: 2017-05-22 19:51:07+00:00 Summary: Allow metadata.reflect() to recover from unreflectable tables Added support for views that are unreflectable due to stale table definitions, when calling :meth:`.MetaData.reflect`; a warning is emitted for the table that cannot respond to ``DESCRIBE`` but the operation succeeds. The MySQL dialect now raises UnreflectableTableError which is in turn caught by MetaData.reflect(). Reflecting the view standalone raises this error directly. Change-Id: Id8005219d8e073c154cc84a873df911b4a6cf4d6 Fixes: #3871 Affected #: 7 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |