add_typeΒΆ

classmethod SpectralShape.add_type(type_name: str, attribute_type: type)