Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
hrguarinv
/
fastlane
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4e3ede3
fastlane
/
models
/
customer.py
Hugo Guarin
Update space
c169262
9 months ago
raw
Copy download link
history
blame
Safe
232 Bytes
from
pydantic
import
BaseModel
from
typing
import
List
,
Optional
class
Customer
(
BaseModel
):
customer_id:
str
name:
str
email:
str
address:
str
phone:
Optional
[
str
] =
None
orders:
Optional
[
List
[
str
]] =
None