code: def get_resources_version(
      resource_fullname, resource_alias, compatibility
  ):
      if resource_fullname not in compatibility:
          pretty_print(
              "No compatible resources found for '%s'" % resource_alias,
              title="Resources compatibility error",
              exits=1,
              level=PrettyPrintLevel.ERROR,
          )
      return compatibility[resource_fullname][0]
  
file_path: snips-nlu/snips_nlu/cli/utils.py
imports: from __future__ import print_function, unicode_literals
  import logging
  import os
  import subprocess
  import sys
  from enum import Enum, unique
  import requests
  import snips_nlu
  from snips_nlu import __about__
  from snips_nlu.common.utils import parse_version
label_desc: Use image node_id 5 for calling a global function with example usage: get_resources_version(resource_fullname, resource_alias, compatibility) and returns: compatibility