code: def abstract_example():
      sma = Function("sma")
      input_arrays = sma.get_input_arrays()
      for key in input_arrays.keys():
          input_arrays[key] = idata
      sma.set_input_arrays(input_arrays)
      odata = sma(30)  # timePeriod=30, specified as an arg
  
      bbands = Function("bbands", input_arrays)
      bbands.parameters = {"timeperiod": 20, "nbdevup": 2, "nbdevdn": 2}
      (
          upper,
          middle,
          lower,
      ) = (
          bbands()
      )  # multiple output values unpacked (these will always have the correct order)
  
      kama = Function("kama").run(
          input_arrays
      )  # alternative run() calling method.
      plot(odata, upper, middle, lower, kama)
  
file_path: ta-lib-python/tools/example.py
imports: from __future__ import print_function
  import sys
  import numpy
  import pylab
  import talib
  from talib.abstract import Function
label_desc: Use image node_id 2 for calling a global function with example usage: abstract_example() without return types