[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - The :class:`.DeferredReflection` class has been e
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2013-12-03 18:47:19
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/36e1aa0afdf7/ Changeset: 36e1aa0afdf7 Branch: None User: zzzeek Date: 2013-12-03 19:46:41 Summary: - The :class:`.DeferredReflection` class has been enhanced to provide automatic reflection support for the "secondary" table referred to by a :func:`.relationship`. "secondary", when specified either as a string table name, or as a :class:`.Table` object with only a name and :class:`.MetaData` object will also be included in the reflection process when :meth:`.DeferredReflection.prepare` is called. [ticket:2865] - clsregistry._resolver() now uses a stateful _class_resolver() class in order to handle the work of mapping strings to objects. This is to provide for simpler extensibility, namely a ._resolvers collection of ad-hoc name resolution functions; the DeferredReflection class adds its own resolver here in order to handle relationship(secondary) names which generate new Table objects. Affected #: 4 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. |