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

Method __init__

Solutions/3_7/reader.py:30–31  ·  view source on GitHub ↗
(self, cls)

Source from the content-addressed store, hash-verified

28
29class InstanceCSVParser(CSVParser):
30 def __init__(self, cls):
31 self.cls = cls
32
33 def make_record(self, headers, row):
34 return self.cls.from_row(row)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected