diff --git a/pipeline/translator.py b/pipeline/translator.py index 4ba64169..d64bed3b 100644 --- a/pipeline/translator.py +++ b/pipeline/translator.py @@ -255,7 +255,7 @@ def _generate_additional_files(self): # Create mixedtype class for prop in self._template_variables["props"]: if prop["is_linked"] or prop["is_embedded"]: - if len(prop["type_list"]) > 1: + if len(prop["mixed_type_list"]) > 1: self._build_mixed_type_class(self._template_variables, prop) def _build_mixed_type_class(self, schema, prop):