code: def to_arg_names(function_type):
      """Generates a list of arg names from a FunctionType."""
      arg_names = []
      for p in function_type.parameters.values():
          if p.kind in {
              function_type_lib.Parameter.POSITIONAL_ONLY,
              function_type_lib.Parameter.POSITIONAL_OR_KEYWORD,
          }:
              arg_names.append(p.name)
      return arg_names
  
imports: import functools
  import inspect
  from typing import Any, Dict, Tuple
  import six
  from tensorflow.core.function import trace_type
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 5 for calling a global function with example usage: to_arg_names(function_type) and returns: arg_names