(self, polymorphic_mappers=())
| 2927 | ] |
| 2928 | |
| 2929 | def _columns_plus_keys(self, polymorphic_mappers=()): |
| 2930 | if polymorphic_mappers: |
| 2931 | poly_properties = self._iterate_polymorphic_properties( |
| 2932 | polymorphic_mappers |
| 2933 | ) |
| 2934 | else: |
| 2935 | poly_properties = self._polymorphic_properties |
| 2936 | |
| 2937 | return [ |
| 2938 | (prop.key, prop.columns[0]) |
| 2939 | for prop in poly_properties |
| 2940 | if isinstance(prop, properties.ColumnProperty) |
| 2941 | ] |
| 2942 | |
| 2943 | @HasMemoized.memoized_attribute |
| 2944 | def _polymorphic_adapter(self) -> Optional[orm_util.ORMAdapter]: |
no test coverage detected