From 68ef074337cf6d36872462113410b4cc32aff361 Mon Sep 17 00:00:00 2001 From: Frode Helgetun Krogh <70878501+frodehk@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:56:40 +0200 Subject: [PATCH] fix: missing validation on venting emitter type oil volume (#662) ECALC-1714 --- .../yaml/yaml_types/emitters/yaml_venting_emitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libecalc/presentation/yaml/yaml_types/emitters/yaml_venting_emitter.py b/src/libecalc/presentation/yaml/yaml_types/emitters/yaml_venting_emitter.py index 34c1485d29..5e61f2f68b 100644 --- a/src/libecalc/presentation/yaml/yaml_types/emitters/yaml_venting_emitter.py +++ b/src/libecalc/presentation/yaml/yaml_types/emitters/yaml_venting_emitter.py @@ -48,7 +48,7 @@ class YamlVentingVolumeEmission(YamlBase): description="Name of emission", ) emission_factor: ExpressionType = Field( - None, title="EMISSION_FACTOR", description="Loading/storage volume-emission factor" + ..., title="EMISSION_FACTOR", description="Loading/storage volume-emission factor" ) @field_validator("name", mode="before")