Skip to content

Commit

Permalink
add Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed May 14, 2024
1 parent 727676c commit 5e5fd0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pydantic_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class NationalForecastValue(ForecastValue):
None, description="Dictionary to hold properties of the forecast, like p_levels. "
)

expected_power_generation_normalized: float = Field(
expected_power_generation_normalized: Optional[float] = Field(
None,
ge=0,
description="exclude the normalized power",
Expand Down

0 comments on commit 5e5fd0b

Please sign in to comment.