MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _create

Method _create

lib/sqlalchemy/ext/associationproxy.py:1702–1703  ·  view source on GitHub ↗
(self, key: _KT, value: Optional[_VT])

Source from the content-addressed store, hash-verified

1700 col: MutableMapping[_KT, Optional[_VT]]
1701
1702 def _create(self, key: _KT, value: Optional[_VT]) -> Any:
1703 return self.creator(key, value)
1704
1705 def _get(self, object_: Any) -> _VT:
1706 return self.getter(object_)

Callers 5

__setitem__Method · 0.95
setdefaultMethod · 0.95
appendMethod · 0.45
insertMethod · 0.45
addMethod · 0.45

Calls 1

creatorMethod · 0.45

Tested by

no test coverage detected