Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ PersonCustomer
Class
PersonCustomer
example_code/item_009.py:286–288 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
284
285
@dataclass
286
class
PersonCustomer:
287
first_name: str
288
last_name: str
289
290
@dataclass
291
class
BusinessCustomer:
Callers
1
deserialize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected