DataSpecificationIec61360sHaveDataType🔗
Check that the DataSpecificationIec61360.dataType is defined for all
data specifications whose content is given as IEC 61360.
Code
return all(
not (
isinstance(
data_specification.data_specification_content,
Data_specification_IEC_61360,
)
)
or (data_specification.data_specification_content.data_type is not None)
for data_specification in embedded_data_specifications
)