code: def get_submodule(test_path):
      test_path = test_path.split("/")
      submod_test = test_path[-1]
      submod, test_fn = submod_test.split("::")
      submod = submod.replace("test_", "").replace(".py", "")
      return ["array_api", 0], submod, test_fn
  
file_path: ivy/scripts/run_tests/array_api_run_tests.py
imports: import os
  import subprocess
  import sys
  from pymongo import MongoClient
label_desc: Use image node_id 2 for calling a global function with example usage: get_submodule(test_path) and returns: list,  submod,  test_fn