Skip to content

Commit

Permalink
support boolean variables also with the bool type keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
defreng committed Nov 8, 2023
1 parent 8d3b60e commit 08cc986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foxops/engine/models/template_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def pydantic_field_model(self) -> Any:


class BooleanVariableDefinition(BaseFlatVariableDefinition):
type: Literal["boolean"] = "boolean"
type: Literal["bool", "boolean"] = "boolean"
default: bool | None = None

def pydantic_field_model(self) -> Any:
Expand Down

0 comments on commit 08cc986

Please sign in to comment.