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

Method __init__

lib/sqlalchemy/sql/base.py:2084–2094  ·  view source on GitHub ↗
(
        self, columns: Optional[Iterable[Tuple[_COLKEY, _COL_co]]] = None
    )

Source from the content-addressed store, hash-verified

2082 __slots__ = ()
2083
2084 def __init__(
2085 self, columns: Optional[Iterable[Tuple[_COLKEY, _COL_co]]] = None
2086 ):
2087 object.__setattr__(self, "_colset", set())
2088 object.__setattr__(self, "_index", {})
2089 object.__setattr__(
2090 self, "_proxy_index", collections.defaultdict(util.OrderedSet)
2091 )
2092 object.__setattr__(self, "_collection", [])
2093 if columns:
2094 self._initial_populate(columns)
2095
2096 def _initial_populate(
2097 self, iter_: Iterable[Tuple[_COLKEY, _COL_co]]

Callers

nothing calls this directly

Calls 2

_initial_populateMethod · 0.95
__setattr__Method · 0.45

Tested by

no test coverage detected