code: def get_version(orion_script):
      """Get Oríon version for given Oríon executer's path."""
      command = f"{orion_script} --version"
      stdout = subprocess.check_output(command, shell=True)
  
      return stdout.decode("utf-8").strip("\n")
  
imports: import os
  import shutil
  import subprocess
  import pytest
  from pymongo import MongoClient
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.client import create_experiment
  from orion.core.io.database import database_factory
  from orion.storage.base import storage_factory
label_desc: Use image node_id 9 for calling a global function with example usage: get_version(orion_script) and returns: stdout