def METHOD_NAME(self, id__in=None, is_deleted=None, template_id__in=None, pipeline_template_id__in=None):
    # mock create_templates
    if pipeline_template_id__in:
        template = MagicMock()
        template.id = 4
        template.name = "定时器1"
        template.pipeline_template_id = list(pipeline_template_id__in)[0]
        return [template]
    return self