MCPcopy
hub / github.com/google/python-fire / _GetPossibleActions

Function _GetPossibleActions

fire/helptext.py:363–369  ·  view source on GitHub ↗

The list of possible action kinds.

(actions_grouped_by_kind)

Source from the content-addressed store, hash-verified

361
362
363def _GetPossibleActions(actions_grouped_by_kind):
364 """The list of possible action kinds."""
365 possible_actions = []
366 for action_group in actions_grouped_by_kind:
367 if action_group.members:
368 possible_actions.append(action_group.name)
369 return possible_actions
370
371
372def _GetPossibleActionsString(possible_actions):

Callers 2

_SynopsisSectionFunction · 0.85
UsageTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected