MCPcopy Create free account
hub / github.com/amyasnikov/validity / __contains__

Method __contains__

validity/utils/orm.py:36–38  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

34 return self._map[key]
35
36 def __contains__(self, key):
37 self._evaluate()
38 return key in self._map
39
40 def get(self, key, default=None):
41 self._evaluate()

Callers

nothing calls this directly

Calls 1

_evaluateMethod · 0.95

Tested by

no test coverage detected