MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / make_record

Method make_record

Solutions/5_2/reader.py:40–41  ·  view source on GitHub ↗
(self, headers, row)

Source from the content-addressed store, hash-verified

38 self.cls = cls
39
40 def make_record(self, headers, row):
41 return self.cls.from_row(row)
42
43def read_csv_as_dicts(filename, types):
44 parser = DictCSVParser(types)

Callers

nothing calls this directly

Calls 1

from_rowMethod · 0.45

Tested by

no test coverage detected