code: def __init__(self, data):
      self.data = data
  
imports: import functools
  import re
  import tempfile
  from contextlib import contextmanager
  from pathlib import Path
  from unittest import mock
  import pytest
  from dev.set_matrix import generate_matrix
label_desc: Use image node_id 1 to create a new MockResponse object  with example: obj = MockResponse(data)