Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ StockKeepingUnit
Class
StockKeepingUnit
rich/pretty.py:964–969 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
962
from
typing
import
NamedTuple
963
964
class
StockKeepingUnit(NamedTuple):
965
name: str
966
description: str
967
price: float
968
category: str
969
reviews: List[str]
970
971
d = defaultdict(int)
972
d[
"foo"
] = 5
Callers
1
pretty.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected