finance_api / app /models /prediction_models.py
sanbatte's picture
refactor app
2939a15
raw
history blame contribute delete
215 Bytes
from pydantic import BaseModel
from typing import List
class PredictionRequest(BaseModel):
invoiceId: List[int]
country: str
class PredictionResponse(BaseModel):
invoiceId: int
prediction: float