Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ from_row
Method
from_row
Solutions/9_3/structly/structure.py:40–42 ·
view source on GitHub ↗
(cls, row)
Source
from the content-addressed store, hash-verified
38
39
@classmethod
40
def
from_row(cls, row):
41
rowdata = [ func(val)
for
func, val in zip(cls._types, row) ]
42
return
cls(*rowdata)
43
44
@classmethod
45
def
create_init(cls):
Callers
1
csv_as_instances
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected