(self, compile_state)
| 3154 | return self.setup_compile_state(compile_state) |
| 3155 | |
| 3156 | def setup_compile_state(self, compile_state): |
| 3157 | current_adapter = compile_state._get_current_adapter() |
| 3158 | if current_adapter: |
| 3159 | column = current_adapter(self.column, False) |
| 3160 | if column is None: |
| 3161 | return |
| 3162 | else: |
| 3163 | column = self.column |
| 3164 | |
| 3165 | if column._annotations: |
| 3166 | # annotated columns perform more slowly in compiler and |
| 3167 | # result due to the __eq__() method, so use deannotated |
| 3168 | column = column._deannotate() |
| 3169 | |
| 3170 | compile_state.dedupe_columns.add(column) |
| 3171 | compile_state.primary_columns.append(column) |
| 3172 | self._fetch_column = column |
| 3173 | |
| 3174 | |
| 3175 | class _ORMColumnEntity(_ColumnEntity): |
no test coverage detected