@@ -151,12 +151,12 @@ class _IdentityToolRepositorySerializationHelper(serializable.helpers.BaseHelper
151151 """ THIS CLASS IS NON-PUBLIC API """
152152
153153 @classmethod
154- def json_serialize (cls , o : Iterable ['BomRef' ]) -> tuple [str , ... ]:
155- return tuple ( t .value for t in o if t .value )
154+ def json_serialize (cls , o : Iterable ['BomRef' ]) -> list [str ]:
155+ return [ t .value for t in o if t .value ]
156156
157157 @classmethod
158- def json_deserialize (cls , o : Iterable [str ]) -> tuple [BomRef , ... ]:
159- return tuple ( BomRef (value = t ) for t in o )
158+ def json_deserialize (cls , o : Iterable [str ]) -> list [BomRef ]:
159+ return [ BomRef (value = t ) for t in o ]
160160
161161 @classmethod
162162 def xml_normalize (cls , o : Iterable [BomRef ], * ,
@@ -176,8 +176,8 @@ def xml_normalize(cls, o: Iterable[BomRef], *,
176176 @classmethod
177177 def xml_denormalize (cls , o : 'XmlElement' , * ,
178178 default_ns : Optional [str ],
179- ** __ : Any ) -> tuple [BomRef , ... ]:
180- return tuple ( BomRef (value = t .get ('ref' )) for t in o )
179+ ** __ : Any ) -> list [BomRef ]:
180+ return [ BomRef (value = t .get ('ref' )) for t in o ]
181181
182182
183183@serializable .serializable_class
0 commit comments