MCPcopy Create free account
hub / github.com/clips/pattern / load

Method load

pattern/text/__init__.py:105–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103class lazydict(dict):
104
105 def load(self):
106 # Must be overridden in a subclass.
107 # Must load data with dict.__setitem__(self, k, v) instead of lazydict[k] = v.
108 pass
109
110 def _lazy(self, method, *args):
111 """ If the dictionary is empty, calls lazydict.load().

Callers 1

_lazyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected