MCPcopy Index your code
hub / github.com/google/python-fire / _KeywordOnlyArguments

Function _KeywordOnlyArguments

fire/helptext.py:727–729  ·  view source on GitHub ↗
(spec, required=True)

Source from the content-addressed store, hash-verified

725
726
727def _KeywordOnlyArguments(spec, required=True):
728 return (flag for flag in spec.kwonlyargs
729 if required != (flag in spec.kwonlydefaults))
730
731
732def _GetCallableAvailabilityLines(spec):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected