code: def make_downsampled_type(cls, other_base):
          
          docstring = dedent(
              """
              A {t} that defers to another {t} at lower-than-daily frequency.
  
              Parameters
              ----------
              term : {t}
              {{frequency}}
              """
          ).format(t=other_base.__name__)
  
          doc = format_docstring(
              owner_name=other_base.__name__,
              docstring=docstring,
              formatters={'frequency': PIPELINE_DOWNSAMPLING_FREQUENCY_DOC},
          )
  
          return type(
              'Downsampled' + other_base.__name__,
              (cls, other_base,),
              {'__doc__': doc,
               '__module__': other_base.__module__},
          )
docs: Factory for making Downsampled{Filter,Factor,Classifier}.