Skip to content

Commit 8591b09

Browse files
committed
chore: add return type to map conditions
1 parent 56d1030 commit 8591b09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/libecalc/presentation/yaml/mappers/process_simulation_mapper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ def _resolve_fluid_model_reference(self, ref: str | YamlFluidModel) -> YamlFluid
211211
else:
212212
return ref
213213

214-
def _map_conditions(self, condition: YamlExpressionType | None, conditions: list[YamlExpressionType] | None):
214+
def _map_conditions(
215+
self, condition: YamlExpressionType | None, conditions: list[YamlExpressionType] | None
216+
) -> YamlExpressionType | None:
215217
if condition is not None:
216218
assert isinstance(condition, ExpressionType)
217219
return condition

0 commit comments

Comments
 (0)