MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / set_label_style

Method set_label_style

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

Source from the content-addressed store, hash-verified

4742 return False
4743
4744 def set_label_style(self, style: SelectLabelStyle) -> Self:
4745 if self._label_style is not style:
4746 self = self._generate()
4747 select_0 = self.selects[0].set_label_style(style)
4748 self.selects = [select_0] + self.selects[1:]
4749
4750 return self
4751
4752 def _ensure_disambiguated_names(self) -> Self:
4753 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