code: def get_cleaned_models(models):
      """
      Function to clean retrieved models
      :param models: list of retrieved models
      :return: list of cleaned models
      """
      cleaned_models = []
      for model in models:
          cleaned_models.append(model["id"])
      return cleaned_models
  
imports: import requests
  from urllib.parse import urlparse, parse_qs
label_desc: Use image node_id 3 for calling a global function with example usage: get_cleaned_models(models) and returns: cleaned_models