From 83e00c99ff3db9cace80d4c856548f44d217a25e Mon Sep 17 00:00:00 2001 From: Martin Lehmann Date: Thu, 25 Apr 2024 10:38:12 +0200 Subject: [PATCH] fix(model): Expect >1 involving functional chain --- capellambse/model/crosslayer/fa.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/capellambse/model/crosslayer/fa.py b/capellambse/model/crosslayer/fa.py index 9bbf07c4..50b5a5a7 100644 --- a/capellambse/model/crosslayer/fa.py +++ b/capellambse/model/crosslayer/fa.py @@ -380,7 +380,9 @@ def __dir__(self) -> list[str]: c.set_accessor( FunctionalExchange, "involving_functional_chains", - c.ReferenceSearchingAccessor(FunctionalChain, "involved_links"), + c.ReferenceSearchingAccessor( + FunctionalChain, "involved_links", aslist=c.ElementList + ), ) c.set_accessor(