Skip to content

Commit

Permalink
fix invalid example attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ott <[email protected]>
  • Loading branch information
DerOetzi committed Nov 30, 2024
1 parent 78eda4d commit 141f6c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/learninghouse/models/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def typed(self) -> str:
class SensorConfiguration(LHBaseModel):
name: str = Field(None, example="azimuth")
typed: SensorType = Field(None, example=SensorType.NUMERICAL)
cycles: int = Field(0, examples=360)
calc_sun_position: bool = Field(False, examples=False)
cycles: int = Field(0, example=360)
calc_sun_position: bool = Field(False, example=False)


class Sensor(SensorConfiguration):
Expand Down

0 comments on commit 141f6c2

Please sign in to comment.