(self, compile_state)
| 3295 | return self.setup_compile_state(compile_state) |
| 3296 | |
| 3297 | def setup_compile_state(self, compile_state): |
| 3298 | current_adapter = compile_state._get_current_adapter() |
| 3299 | if current_adapter: |
| 3300 | column = current_adapter(self.column, False) |
| 3301 | if column is None: |
| 3302 | return |
| 3303 | else: |
| 3304 | column = self.column |
| 3305 | |
| 3306 | if column._annotations: |
| 3307 | # annotated columns perform more slowly in compiler and |
| 3308 | # result due to the __eq__() method, so use deannotated |
| 3309 | column = column._deannotate() |
| 3310 | |
| 3311 | compile_state.dedupe_columns.add(column) |
| 3312 | compile_state.primary_columns.append(column) |
| 3313 | self._fetch_column = column |
| 3314 | |
| 3315 | |
| 3316 | class _ORMColumnEntity(_ColumnEntity): |
no test coverage detected