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

Method _construct_raw

lib/sqlalchemy/sql/elements.py:3153–3164  ·  view source on GitHub ↗
(
        cls,
        operator: OperatorType,
        clauses: Optional[Sequence[ColumnElement[Any]]] = None,
    )

Source from the content-addressed store, hash-verified

3151
3152 @classmethod
3153 def _construct_raw(
3154 cls,
3155 operator: OperatorType,
3156 clauses: Optional[Sequence[ColumnElement[Any]]] = None,
3157 ) -> BooleanClauseList:
3158 self = cls.__new__(cls)
3159 self.clauses = tuple(clauses) if clauses else ()
3160 self.group = True
3161 self.operator = operator
3162 self.type = type_api.BOOLEANTYPE
3163 self._is_implicitly_boolean = True
3164 return self
3165
3166 @classmethod
3167 def and_(

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected