code: def index(
      self, document: dict, index_name: str, doc_id: int, **kwargs: Any
  ) -> Any:
      return doc_id
  
file_path: airflow/tests/providers/opensearch/conftest.py
imports: from __future__ import annotations
  from typing import Any
  import pytest
  from opensearchpy import OpenSearch
  from airflow.models import Connection
  from airflow.providers.opensearch.hooks.opensearch import OpenSearchHook
  from airflow.utils import db
label_desc: Use image node_id 3 for calling the MockSearch obj's underlying member method code with example usage: obj.index(document, index_name, doc_id) and returns: doc_id