From 90a0ec780c2ab127422d81fad0ff4c66fe7cd2fb Mon Sep 17 00:00:00 2001 From: Claas Rostock <48752696+ClaasRostock@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:45:02 +0200 Subject: [PATCH] Update src/mlfmu/types/fmu_component.py Co-authored-by: KristofferSkare <52509111+KristofferSkare@users.noreply.github.com> --- src/mlfmu/types/fmu_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlfmu/types/fmu_component.py b/src/mlfmu/types/fmu_component.py index 6d3357f..88eef14 100644 --- a/src/mlfmu/types/fmu_component.py +++ b/src/mlfmu/types/fmu_component.py @@ -80,7 +80,7 @@ class Variable(BaseModelConfig): description="Unique name for the port.", examples=["windSpeed", "windDirection"], ) - type: FmiVariableType | None = Field( + type: FmiVariableType = Field( default=FmiVariableType.REAL, description="Data type as defined by FMI standard, defaults to Real.", examples=[FmiVariableType.REAL, FmiVariableType.INTEGER],