def METHOD_NAME(self, gid):
    if not self.relay:
        morphology, labels, decor = self.model.cable_cell_template()
        labels = self._add_labels(gid, labels, morphology)
        decor = self._add_decor(gid, decor)
        cc = arbor.cable_cell(morphology, labels, decor)
        return cc
    else:
        schedule = self.get_schedule(gid)
        return arbor.spike_source_cell(self.default_endpoint, schedule)