MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / set_label_style

Method set_label_style

lib/sqlalchemy/sql/selectable.py:4622–4628  ·  view source on GitHub ↗
(self, style: SelectLabelStyle)

Source from the content-addressed store, hash-verified

4620 return False
4621
4622 def set_label_style(self, style: SelectLabelStyle) -> Self:
4623 if self._label_style is not style:
4624 self = self._generate()
4625 select_0 = self.selects[0].set_label_style(style)
4626 self.selects = [select_0] + self.selects[1:]
4627
4628 return self
4629
4630 def _ensure_disambiguated_names(self) -> Self:
4631 new_select = self.selects[0]._ensure_disambiguated_names()

Callers

nothing calls this directly

Calls 2

_generateMethod · 0.45
set_label_styleMethod · 0.45

Tested by

no test coverage detected