code: def _handle_simple_attributes_backwards_compat(model_dict):
      """Handle backwards compatibility for SIMPLE_ATTRIBUTES."""
      # prophet<1.1.5: handle scaling parameters introduced in #2470
      if "scaling" not in model_dict:
          model_dict["scaling"] = "absmax"
          model_dict["y_min"] = 0.0
      # prophet<1.1.5: handle holidays_mode parameter introduced in #2477
      if "holidays_mode" not in model_dict:
          model_dict["holidays_mode"] = model_dict["seasonality_mode"]
  
file_path: prophet/python/prophet/serialize.py
imports: from __future__ import absolute_import, division, print_function
  from collections import OrderedDict
  from copy import deepcopy
  from io import StringIO
  import json
  from pathlib import Path
  import numpy
  import pandas
  from prophet.forecaster import Prophet
label_desc: Use image node_id 3 for calling a global function with example usage: _handle_simple_attributes_backwards_compat(model_dict) without return types