code: def _convert_from_parameter_kind(kind):
      if kind == Parameter.POSITIONAL_ONLY:
          return 0
      if kind == Parameter.POSITIONAL_OR_KEYWORD:
          return 1
      if kind == Parameter.VAR_POSITIONAL:
          return 2
      if kind == Parameter.KEYWORD_ONLY:
          return 3
      if kind == Parameter.VAR_KEYWORD:
          return 4
  
file_path: ray/python/ray/_private/signature.py
imports: import inspect
  import logging
  from inspect import Parameter
  from ray._private.inspect_util import is_cython
label_desc: Use image node_id 5 for calling a global function with example usage: _convert_from_parameter_kind(kind) and returns: int, int, int, int, int