MCPcopy Index your code
hub / github.com/clips/pattern / __init__

Method __init__

pattern/db/__init__.py:399–400  ·  view source on GitHub ↗
(self, db, *args, **kwargs)

Source from the content-addressed store, hash-verified

397 # Table objects are lazily constructed when retrieved.
398 # This saves time because each table executes a metadata query when constructed.
399 def __init__(self, db, *args, **kwargs):
400 dict.__init__(self, *args, **kwargs); self.db=db
401 def __getitem__(self, k):
402 if dict.__getitem__(self, k) is None:
403 dict.__setitem__(self, k, Table(name=k, database=self.db))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected