Skip to content

Commit

Permalink
feat(table-mode): add group to possible columns
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Mar 11, 2024
1 parent 391c947 commit ce96783
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions antarest/study/business/table_mode_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class BindingConstraintColumns(FormFieldsBaseModel):
type: Optional[BindingConstraintFrequency]
operator: Optional[BindingConstraintOperator]
enabled: Optional[StrictBool]
group: Optional[StrictStr]


class ColumnInfo(TypedDict):
Expand Down Expand Up @@ -342,6 +343,10 @@ class PathVars(TypedDict, total=False):
"path": f"{BINDING_CONSTRAINT_PATH}/enabled",
"default_value": True,
},
"group": {
"path": f"{BINDING_CONSTRAINT_PATH}/group",
"default_value": None,
},
},
}

Expand Down

0 comments on commit ce96783

Please sign in to comment.