Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
hrguarinv
/
fastlane
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
92f8cbf
fastlane
/
models
/
product.py
Hugo Guarin
Update space
c169262
8 months ago
raw
Copy download link
history
blame
Safe
221 Bytes
from
pydantic
import
BaseModel
from
typing
import
List
,
Optional
class
Product
(
BaseModel
):
product_id:
str
title:
str
description:
str
price:
float
category:
str
tags:
Optional
[
List
[
str
]] =
None