code: def __init__(
      self, endog, exog, smoothers=None, family=families.Gaussian()
  ):
      # self.family = family
      # TODO: inconsistent super __init__
      AdditiveModel.__init__(
          self, exog, smoothers=smoothers, family=family
      )
      GLM.__init__(self, endog, exog, family=family)
      assert self.family is family
  
imports: import numpy
  from statsmodels.genmod import families
  from statsmodels.sandbox.nonparametric.smoothers import PolySmoother
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.tools.sm_exceptions import IterationLimitWarning, iteration_limit_doc
  import warnings
label_desc: Use image node_id 1 to create a new Model object from inherited base classes: GLM, AdditiveModel with example: obj = Model(endog, exog, smoothers, family)