code: def make_pipeline():
      rsi = RSI()
      return Pipeline(
          columns={
              "longs": rsi.top(3),
              "shorts": rsi.bottom(3),
          },
      )
  
file_path: zipline/zipline/examples/momentum_pipeline.py
imports: from six import viewkeys
  from zipline.api import attach_pipeline, date_rules, order_target_percent, pipeline_output, record, schedule_function
  from zipline.finance import commission, slippage
  from zipline.pipeline import Pipeline
  from zipline.pipeline.factors import RSI
label_desc: Use image node_id 1 for calling a global function with example usage: make_pipeline() and returns: Pipeline