move .info from MapperProperty down to _InspectionAttr

Issue #2971 resolved
Michael Bayer
repo owner created an issue

this will give us an .info collection on all ORM attributes including hybrids and assocaition proxies, and also on mapper/aliasedinsp, e.g. when you say inspect(SomeClass), which might be useful.

Comments (4)

  1. Michael Bayer reporter
    • The collection is now moved down to :class:.InspectionAttr, where in addition to being available on all :class:.MapperProperty objects, it is also now available on hybrid properties, association proxies, when accessed via :attr:.Mapper.all_orm_descriptors. fixes #2971

    → <<cset ea85c7053dc9>>

  2. Log in to comment