Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dabeaz-course/python-mastery
/ from_row
Method
from_row
Solutions/7_6/structure.py:31–33 ·
view source on GitHub ↗
(cls, row)
Source
from the content-addressed store, hash-verified
29
30
@classmethod
31
def
from_row(cls, row):
32
rowdata = [ func(val)
for
func, val in zip(cls._types, row) ]
33
return
cls(*rowdata)
34
35
36
@classmethod
Callers
2
csv_as_instances
Function · 0.45
test_from_row
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_from_row
Method · 0.36