code: def mock_validation_search(
      requests_mock: Mocker, url: str, initial_search_task_id: str
  ) -> str:
      validation_search_task_id = random_id()
      requests_mock.post(
          url
          + "/public/api/v2/search/validation?initialSearchTaskId="
          + initial_search_task_id,
          json={
              "fileUploadId": "validation_fileUploadId",
              "searchTaskId": validation_search_task_id,
              "searchType": "VALIDATION",
              "status": "SUBMITTED",
              "extractFeatures": "true",
              "returnScores": "false",
              "createdAt": 1633302145414,
          },
      )
      return validation_search_task_id
  
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 8 for calling a global function with example usage: mock_validation_search(requests_mock, url, initial_search_task_id) and returns: validation_search_task_id