code: def setup_connection():
      # We need to set up a Connection into the database for all tests.
      db.merge_conn(
          Connection(
              conn_id="opensearch_default",
              conn_type="opensearch",
              host="myopensearch.com",
              login="test_user",
              password="test",
          )
      )
  
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 2 for calling a global function with example usage: setup_connection() without return types