code: def _KeywordOnlyArguments(spec, required=True):
      return (
          flag
          for flag in spec.kwonlyargs
          if required != (flag in spec.kwonlydefaults)
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import itertools
  import sys
  from fire import completion
  from fire import custom_descriptions
  from fire import decorators
  from fire import docstrings
  from fire import formatting
  from fire import inspectutils
  from fire import value_types
label_desc: Use image node_id 30 for calling a global function with example usage: _KeywordOnlyArguments(spec, required) and returns: unknown