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

Method __getitem__

lib/sqlalchemy/ext/associationproxy.py:1711–1712  ·  view source on GitHub ↗
(self, key: _KT)

Source from the content-addressed store, hash-verified

1709 return self.setter(object_, key, value)
1710
1711 def __getitem__(self, key: _KT) -> _VT:
1712 return self._get(self.col[key])
1713
1714 def __setitem__(self, key: _KT, value: _VT) -> None:
1715 if key in self.col:

Callers

nothing calls this directly

Calls 1

_getMethod · 0.95

Tested by

no test coverage detected