swot_simulator.product_specification.cast_to_dtype#

swot_simulator.product_specification.cast_to_dtype(attr_value: Union[int, float], properties: Dict[str, str])[source]#

Cast the attribute value to the numpy data type required.