code: def _mock_models_retrieve_response():
      return _MockResponse(200, _models_retrieve_json_sample())
  
imports: import json
  import os
  import time
  from contextlib import contextmanager
  from enum import Enum
  from typing import NamedTuple, Optional
  from unittest import mock
  import requests
  import mlflow
label_desc: Use image node_id 7 for calling a global function with example usage: _mock_models_retrieve_response() and returns: _MockResponse