In pull request https://github.com/CLIMADA-project/climada_python/pull/675we added haz_typeas a requirement for impact functions generated through from_sigmoid_impfor from_step_imp. In the initialization of the ImpactFunc, however, haz_type is optional. We should make this consistent.
See also the following discussion #675 (comment)