Skip to content

Commit

Permalink
chore: fix typing for charts
Browse files Browse the repository at this point in the history
Chart must be provided, but can be None.
  • Loading branch information
jsolaas committed Jan 29, 2024
1 parent 2be1736 commit f6a58a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libecalc/dto/result/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class CompressorStreamConditionResult(EcalcResultBaseModel):


class CompressorModelStageResult(EcalcResultBaseModel):
chart: Optional[Union[SingleSpeedChart, VariableSpeedChart]] = None
chart: Optional[Union[SingleSpeedChart, VariableSpeedChart]]
chart_area_flags: List[str]
energy_usage_unit: Unit
power_unit: Unit
Expand Down

0 comments on commit f6a58a2

Please sign in to comment.