code: def create_pipeline_component_instances(text_url: str, pattern: str):
      """Creates tasks for the download_grep_print pipeline."""
  
      downloader_task = downloader_component(url=text_url)
      grep_task = grep_component(
          text=downloader_task.outputs["data"],
          pattern=pattern,
      )
      print_task = print_component(
          text=grep_task.outputs["filtered_text"],
      )
  
      component_instances = [
          downloader_task,
          grep_task,
          print_task,
      ]
  
      return component_instances
  
imports: from tfx.dsl.component.experimental import container_component
  from tfx.dsl.placeholder import placeholder
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling a global function with example usage: create_pipeline_component_instances(text_url, pattern) and returns: component_instances