code: def __init__(self, data: dict):
      self.data = data
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from elasticsearch import Elasticsearch
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.models import Connection
  from airflow.providers.elasticsearch.hooks.elasticsearch import ElasticsearchHook, ElasticsearchPythonHook, ElasticsearchSQLHook
label_desc: Use image node_id 1 to create a new MockElasticsearch object  with example: obj = MockElasticsearch(data)