(
self,
columns: WriteableColumnCollection[str, KeyedColumnElement[Any]],
primary_key: ColumnSet,
foreign_keys: Set[KeyedColumnElement[Any]],
)
| 3533 | return ScalarValues(self._column_args, self._data, self.literal_binds) |
| 3534 | |
| 3535 | def _populate_column_collection( |
| 3536 | self, |
| 3537 | columns: WriteableColumnCollection[str, KeyedColumnElement[Any]], |
| 3538 | primary_key: ColumnSet, |
| 3539 | foreign_keys: Set[KeyedColumnElement[Any]], |
| 3540 | ) -> None: |
| 3541 | for c in self._column_args: |
| 3542 | if c.table is not None and c.table is not self: |
| 3543 | _, c = c._make_proxy( |
| 3544 | self, primary_key=primary_key, foreign_keys=foreign_keys |
| 3545 | ) |
| 3546 | else: |
| 3547 | # if the column was used in other contexts, ensure |
| 3548 | # no memoizations of other FROM clauses. |
| 3549 | # see test_values.py -> test_auto_proxy_select_direct_col |
| 3550 | c._reset_memoizations() |
| 3551 | columns.add(c) |
| 3552 | c.table = self |
| 3553 | |
| 3554 | @util.ro_non_memoized_property |
| 3555 | def _from_objects(self) -> List[FromClause]: |
nothing calls this directly
no test coverage detected