merge complete

This commit is contained in:
maxnes3 2024-10-13 16:42:27 +04:00
commit 7507a56237
6 changed files with 22 additions and 0 deletions

View File

0
requirements.txt Normal file
View File

22
schemas/schemas.py Normal file
View File

@ -0,0 +1,22 @@
from pydantic import BaseModel
class LaptopCreate(BaseModel):
processor: str
ram: int
os: str
ssd: int
display: float
class LaptopResponse(BaseModel):
id: int
processor: str
ram: int
os: str
ssd: int
display: float
class Config:
orm_mode = True
class PredictPriceResponse(BaseModel):
predicted_price: float

0
services/service.py Normal file
View File