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

Method __init__

lib/sqlalchemy/util/_collections_cy.py:286–290  ·  view source on GitHub ↗
(self, iterable: Optional[Iterable[Any]] = None)

Source from the content-addressed store, hash-verified

284 _members: Dict[int, Any]
285
286 def __init__(self, iterable: Optional[Iterable[Any]] = None):
287 # the code assumes this class is ordered
288 self._members = {}
289 if iterable:
290 self.update(iterable)
291
292 def add(self, value: Any, /) -> None:
293 self._members[_get_id(value)] = value

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected