code: def mock_get_task_metadata_v2(
      requests_mock: Mocker,
      url: str,
      ads_search_task_id: str,
      meta: ProviderTaskMetadataV2,
  ):
      requests_mock.get(
          url
          + "/public/api/v2/search/metadata-v2/"
          + ads_search_task_id,
          json=meta.dict(),
      )
  
imports: import itertools
  import tempfile
  from random import randint
  from typing import Dict, List, Optional, Union
  import pandas
  from requests_mock import Mocker
  from upgini.metadata import ProviderTaskMetadataV2
label_desc: Use image node_id 6 for calling a global function with example usage: mock_get_task_metadata_v2(requests_mock, url, ads_search_task_id, meta) without return types