MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __missing__

Method __missing__

lib/sqlalchemy/util/_collections.py:315–317  ·  view source on GitHub ↗
(self, key: Any)

Source from the content-addressed store, hash-verified

313 self.creator = creator
314
315 def __missing__(self, key: Any) -> Any:
316 self[key] = val = self.creator(key)
317 return val
318
319
320class WeakPopulateDict(Dict[_KT, _VT]):

Callers

nothing calls this directly

Calls 1

creatorMethod · 0.45

Tested by

no test coverage detected