Skip to content

Commit

Permalink
make parameters optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiegel95 committed Nov 18, 2024
1 parent 27f7beb commit 8fb942c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/boilerplate/inference_payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ class ForecastingInferenceInput(BaseInferenceInput):
description="An object of ForecastingMetadataInput that contains the schema" " metadata of the data input.",
)

parameters: ForecastingParameters
parameters: ForecastingParameters = Field(
description="additional parameters affecting behavior of the forecast.", default_factory=dict
)

data: Dict[str, List[Any]] = Field(
description="A payload of data matching the schema provided."
Expand Down

0 comments on commit 8fb942c

Please sign in to comment.