MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/sql/selectable.py:3997–4000  ·  view source on GitHub ↗
(self, element: _SB)

Source from the content-addressed store, hash-verified

3995 element: _SB
3996
3997 def __init__(self, element: _SB) -> None:
3998 self.element = cast(
3999 _SB, coercions.expect(roles.SelectStatementRole, element)
4000 )
4001
4002 def _ensure_disambiguated_names(self) -> SelectStatementGrouping[_SB]:
4003 new_element = self.element._ensure_disambiguated_names()

Callers

nothing calls this directly

Calls 1

castFunction · 0.70

Tested by

no test coverage detected