79310553

Date: 2024-12-26 22:39:11
Score: 1
Natty:
Report link

If you wanna get ordered record - you must use Pydantic model, or manually write mappings.

schema.py:

from pydantic import BaseModel

class ProductRead(BaseModel):
    product_id: int
    name: str
    price: int
    description: str
    stars: int
    ingredients: str
    nutrition: str
    image_id: int
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: glitch