Start fixing forecast service API 6
This commit is contained in:
@@ -22,7 +22,6 @@ class AlertType(str, Enum):
|
|||||||
|
|
||||||
class ForecastRequest(BaseModel):
|
class ForecastRequest(BaseModel):
|
||||||
"""Request schema for generating forecasts"""
|
"""Request schema for generating forecasts"""
|
||||||
tenant_id: str = Field(..., description="Tenant ID")
|
|
||||||
product_name: str = Field(..., description="Product name")
|
product_name: str = Field(..., description="Product name")
|
||||||
forecast_date: date = Field(..., description="Starting date for forecast")
|
forecast_date: date = Field(..., description="Starting date for forecast")
|
||||||
forecast_days: int = Field(1, ge=1, le=30, description="Number of days to forecast")
|
forecast_days: int = Field(1, ge=1, le=30, description="Number of days to forecast")
|
||||||
|
|||||||
Reference in New Issue
Block a user