MCPcopy Index your code
hub / github.com/dabeaz-course/python-mastery / from_row

Method from_row

Solutions/8_6/structure.py:38–40  ·  view source on GitHub ↗
(cls, row)

Source from the content-addressed store, hash-verified

36
37 @classmethod
38 def from_row(cls, row):
39 rowdata = [ func(val) for func, val in zip(cls._types, row) ]
40 return cls(*rowdata)
41
42 @classmethod
43 def create_init(cls):

Callers 1

create_tickerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected