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

Class Order

examples/pydantic_usage.py:40–45  ·  view source on GitHub ↗

Order model with nested products.

Source from the content-addressed store, hash-verified

38
39
40class Order(BaseModel):
41 """Order model with nested products."""
42 order_id: str = Field(alias='orderId')
43 customer_name: str = Field(alias='customerName')
44 products: list[Product]
45 total: float
46
47
48def example_simple_model():

Callers 1

example_field_aliasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…