Skip to content

Commit

Permalink
fix: correct type for total system rate in pump system v2 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolaas committed Sep 12, 2023
1 parent d40558e commit 5559cdd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class OperationalSettings(ConsumerSystemOperationalConditionBase):
total_system_rate: Optional[str] = Field(
total_system_rate: Optional[ExpressionType] = Field(
None,
title="Total system rate",
description="The total system rate expression."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1079,9 +1079,19 @@
"type": "array"
},
"TOTAL_SYSTEM_RATE": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "The total system rate expression.\n\nShould be used with RATE_FRACTIONS in OPERATIONAL_SETTINGS.",
"title": "Total system rate",
"type": "string"
"title": "Total system rate"
}
},
"title": "OperationalSettings",
Expand Down

0 comments on commit 5559cdd

Please sign in to comment.