Impacted substances#
- class ImpactedSubstance(reference_type, reference_value, max_percentage_amount_in_material, legislation_threshold)#
Represents a substance impacted by a legislation.
This object includes two categories of attributes:
The reference to the substance in Granta MI. These attributes are all populated if data for them exists in Granta MI.
The amount of the substance in the parent item and the threshold above which it is impacted.
Examples
>>> result: MaterialImpactedSubstancesQueryResult >>> substance = result.impacted_substances[4] >>> print(f"{substance.cas_number}: {substance.max_percentage_amount_in_material}") 1333-86-4: 20.0 %
- property max_percentage_amount_in_material: float | None#
Maximum percentage of this substance that occurs in the parent material. In the case where a range is specified in the declaration, only the maximum is reported here.
None
means that the percentage amount has not been specified, not that the amount is 0 %.