code: def get_base_executor_version():
      """
      Get the version of jina to be used
      :return: the version tag
      """
      import requests
  
      try:
          from jina import __version__
  
          url = "https://registry.hub.docker.com/v2/repositories/jinaai/jina/tags"
          result: Dict = requests.get(
              url, params={"name": __version__}
          ).json()
          if result.get("count", 0) > 0:
              return __version__
          else:
              return "master"
      except:
          return "master"
  
file_path: jina/jina/orchestrate/deployments/config/helper.py
imports: import os
  from typing import Dict, Optional
  from hubble.executor.helper import is_valid_docker_uri, parse_hub_uri
  from hubble.executor.hubio import HubIO
  from jina.constants import __default_composite_gateway__, __default_executor__, __default_grpc_gateway__, __default_http_gateway__, __default_websocket_gateway__, __dynamic_base_gateway_hubble__
  from jina.enums import PodRoleType
label_desc: Use image node_id 4 for calling a global function with example usage: get_base_executor_version() and returns: __version__, str, str