def _normalize_query_parameter(value):



  if isinstance(value, Model):
    value = value.key()

  if (isinstance(value, datetime.date) and
      not isinstance(value, datetime.datetime)):
    value = _date_to_datetime(value)
  elif isinstance(value, datetime.time):
    value = _time_to_datetime(value)
  return value
Note: the name is somewhat misleading. This finalizes a list
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/_normalize_query_parameter--crossover with--dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/configuration.py/RunConfiguration._finalize_config_list