code: def get_default_arg_names(function):
      # Note: this code intentionally mirrors the code at the beginning of getfuncargnames,
      # to get the arguments which were excluded from its result because they had default values
      return tuple(
          p.name
          for p in signature(function).parameters.values()
          if p.kind
          in (Parameter.POSITIONAL_OR_KEYWORD, Parameter.KEYWORD_ONLY)
          and p.default is not Parameter.empty
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import codecs
  import functools
  import inspect
  import re
  import sys
  from contextlib import contextmanager
  import attr
  import py
  import six
  from six import text_type
  import _pytest
  from _pytest._io.saferepr import saferepr
  from _pytest.outcomes import fail
  from _pytest.outcomes import TEST_OUTCOME
label_desc: Use image node_id 8 for calling a global function with example usage: get_default_arg_names(function) and returns: tuple