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

Method __init__

lib/sqlalchemy/sql/selectable.py:4557–4570  ·  view source on GitHub ↗
(
        self,
        keyword: _CompoundSelectKeyword,
        *selects: _SelectStatementForCompoundArgument[_TP],
    )

Source from the content-addressed store, hash-verified

4555 _auto_correlate = False
4556
4557 def __init__(
4558 self,
4559 keyword: _CompoundSelectKeyword,
4560 *selects: _SelectStatementForCompoundArgument[_TP],
4561 ):
4562 self.keyword = keyword
4563 self.selects = [
4564 coercions.expect(
4565 roles.CompoundElementRole, s, apply_propagate_attrs=self
4566 ).self_group(against=self)
4567 for s in selects
4568 ]
4569
4570 GenerativeSelect.__init__(self)
4571
4572 @classmethod
4573 def _create_union(

Callers

nothing calls this directly

Calls 2

self_groupMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected