diff --git a/sdk/python/kfp/components/_structures.py b/sdk/python/kfp/components/_structures.py index 052e8002bf2..16c1853209d 100644 --- a/sdk/python/kfp/components/_structures.py +++ b/sdk/python/kfp/components/_structures.py @@ -68,7 +68,7 @@ def from_struct(cls, struct:Union[Tuple[str, Mapping],Mapping[str,Mapping],str]) if 'type' in spec_dict: port_spec.type = spec_dict.pop('type') - check_instance_type(port_spec.type, [str, list]) #TODO: Check format further + check_instance_type(port_spec.type, [str, list, dict]) #TODO: Check format further if 'description' in spec_dict: port_spec.description = str(spec_dict.pop('description'))