code: def test_info():
      stochrsi = abstract.Function("STOCHRSI")
      stochrsi.input_names = {"price": "open"}
      stochrsi.parameters = {"fastd_matype": talib.MA_Type.EMA}
      expected = {
          "display_name": "Stochastic Relative Strength Index",
          "function_flags": ["Function has an unstable period"],
          "group": "Momentum Indicators",
          "input_names": OrderedDict([("price", "open")]),
          "name": "STOCHRSI",
          "output_flags": OrderedDict(
              [
                  ("fastk", ["Line"]),
                  ("fastd", ["Line"]),
              ]
          ),
          "output_names": ["fastk", "fastd"],
          "parameters": OrderedDict(
              [
                  ("timeperiod", 14),
                  ("fastk_period", 5),
                  ("fastd_period", 3),
                  ("fastd_matype", 1),
              ]
          ),
      }
      assert expected == stochrsi.info
  
      expected = {
          "display_name": "Bollinger Bands",
          "function_flags": ["Output scale same as input"],
          "group": "Overlap Studies",
          "input_names": OrderedDict([("price", "close")]),
          "name": "BBANDS",
          "output_flags": OrderedDict(
              [
                  ("upperband", ["Values represent an upper limit"]),
                  ("middleband", ["Line"]),
                  ("lowerband", ["Values represent a lower limit"]),
              ]
          ),
          "output_names": ["upperband", "middleband", "lowerband"],
          "parameters": OrderedDict(
              [
                  ("timeperiod", 5),
                  ("nbdevup", 2),
                  ("nbdevdn", 2),
                  ("matype", 0),
              ]
          ),
      }
      assert expected == abstract.Function("BBANDS").info
  
imports: import copy
  import re
  import threading
  import time
  import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_raises
  import talib
  from talib import abstract, func
label_desc: Use image node_id 8 for calling a global function with example usage: test_info() without return types