MCPcopy Create free account
hub / github.com/ScrapeGraphAI/toonify / Product

Class Product

examples/pydantic_usage.py:31–37  ·  view source on GitHub ↗

Product model.

Source from the content-addressed store, hash-verified

29
30
31class Product(BaseModel):
32 """Product model."""
33 sku: str
34 name: str
35 price: float
36 stock: int
37 tags: list[str] = []
38
39
40class Order(BaseModel):

Callers 4

example_list_of_modelsFunction · 0.70
example_field_aliasesFunction · 0.70
example_roundtripFunction · 0.70
example_comparisonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…