code: def _color_from_level(level):
      if level == PrettyPrintLevel.INFO:
          return "92"
      if level == PrettyPrintLevel.WARNING:
          return "93"
      if level == PrettyPrintLevel.ERROR:
          return "91"
      if level == PrettyPrintLevel.SUCCESS:
          return "92"
      else:
          raise ValueError("Unknown PrettyPrintLevel: %s" % level)
  
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 2 for calling a global function with example usage: _color_from_level(level) and returns: str, str, str, str