code: def test_template_interface():
      mt = MyTemplate()
      assert mt.df is None
      assert mt.config is None
      assert mt.pipeline_params is None
      assert mt.allow_model_template_list is False
      assert mt.allow_model_components_param_list is False
  
      df = pandas.DataFrame({"a": [1, 2, 3]})
      assert mt.apply_template_for_pipeline_params(
          df=df, config=ForecastConfig()
      ) == {"value": df.shape[0]}
  
file_path: greykite/greykite/tests/framework/templates/test_template_interface.py
imports: from typing import Dict
  import pandas
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.template_interface import TemplateInterface
label_desc: Use image node_id 1 for calling a global function with example usage: test_template_interface() without return types