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

Method record

pattern/db/__init__.py:1289–1292  ·  view source on GitHub ↗

Returns the given row as a dictionary of (field or alias, value)-items.

(self, row)

Source from the content-addressed store, hash-verified

1287 return self.execute()
1288
1289 def record(self, row):
1290 """ Returns the given row as a dictionary of (field or alias, value)-items.
1291 """
1292 return dict(zip((self.aliases.get(f,f) for f in self.fields), row))
1293
1294 @property
1295 def xml(self):

Callers

nothing calls this directly

Calls 2

zipFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected