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

Method __init__

Solutions/5_2/reader.py:37–38  ·  view source on GitHub ↗
(self, cls)

Source from the content-addressed store, hash-verified

35
36class InstanceCSVParser(CSVParser):
37 def __init__(self, cls):
38 self.cls = cls
39
40 def make_record(self, headers, row):
41 return self.cls.from_row(row)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected