code: def __init__(self, app, ctx):
      self.app = app
      self.client = app.test_client()
      self.ctx = ctx
      self.mock = MagicMock()
      self._lock = threading.Lock()
  
imports: import json
  import threading
  import urllib
  from unittest.mock import MagicMock
  import requests
label_desc: Use image node_id 1 to create a new RequestsMock object  with example: obj = RequestsMock(app, ctx)