SYMBOL INDEX (782 symbols across 54 files) FILE: examples/cipher/cipher.py function caesar_encode (line 32) | def caesar_encode(n=0, text=''): function caesar_decode (line 39) | def caesar_decode(n=0, text=''): function rot13 (line 43) | def rot13(text): function _caesar_shift_char (line 47) | def _caesar_shift_char(n=0, char=' '): function main (line 55) | def main(): FILE: examples/cipher/cipher_test.py class CipherTest (line 22) | class CipherTest(testutils.BaseTestCase): method testCipher (line 24) | def testCipher(self): FILE: examples/diff/diff.py class DiffLibWrapper (line 64) | class DiffLibWrapper(object): method __init__ (line 71) | def __init__(self, fromfile, tofile): method unified_diff (line 82) | def unified_diff(self, lines=3): method ndiff (line 87) | def ndiff(self): method make_file (line 90) | def make_file(self, context=False, lines=3): method context_diff (line 95) | def context_diff(self, lines=3): function main (line 101) | def main(): FILE: examples/diff/diff_test.py class DiffTest (line 25) | class DiffTest(testutils.BaseTestCase): method setUp (line 31) | def setUp(self): method testSetUp (line 43) | def testSetUp(self): method testUnifiedDiff (line 47) | def testUnifiedDiff(self): method testContextDiff (line 62) | def testContextDiff(self): method testNDiff (line 75) | def testNDiff(self): method testMakeDiff (line 86) | def testMakeDiff(self): method testDiffFull (line 89) | def testDiffFull(self): FILE: examples/diff/difffull.py function main (line 47) | def main(): FILE: examples/identity/identity.py function identity (line 20) | def identity(arg=None): function main (line 24) | def main(_=None): FILE: examples/widget/collector.py class Collector (line 22) | class Collector(object): method __init__ (line 25) | def __init__(self): method collect_widgets (line 29) | def collect_widgets(self): function main (line 34) | def main(): FILE: examples/widget/collector_test.py class CollectorTest (line 23) | class CollectorTest(testutils.BaseTestCase): method testCollectorHasWidget (line 25) | def testCollectorHasWidget(self): method testCollectorWantsMoreWidgets (line 29) | def testCollectorWantsMoreWidgets(self): method testCollectorGetsWantedWidgets (line 33) | def testCollectorGetsWantedWidgets(self): FILE: examples/widget/widget.py class Widget (line 20) | class Widget(object): method whack (line 22) | def whack(self, n=1): method bang (line 26) | def bang(self, noise='bang'): function main (line 31) | def main(): FILE: examples/widget/widget_test.py class WidgetTest (line 22) | class WidgetTest(testutils.BaseTestCase): method testWidgetWhack (line 24) | def testWidgetWhack(self): method testWidgetBang (line 29) | def testWidgetBang(self): FILE: fire/__main__.py function import_from_file_path (line 42) | def import_from_file_path(path): function import_from_module_name (line 72) | def import_from_module_name(module_name): function import_module (line 78) | def import_module(module_or_filename): function main (line 112) | def main(args): FILE: fire/completion.py function Script (line 28) | def Script(name, component, default_options=None, shell='bash'): function _BashScript (line 34) | def _BashScript(name, commands, default_options=None): function _FishScript (line 191) | def _FishScript(name, commands, default_options=None): function MemberVisible (line 284) | def MemberVisible(component, name, member, class_attrs=None, verbose=Fal... function VisibleMembers (line 341) | def VisibleMembers(component, class_attrs=None, verbose=False): function _CompletionsFromArgs (line 374) | def _CompletionsFromArgs(fn_args): function Completions (line 389) | def Completions(component, verbose=False): function _FormatForCommand (line 418) | def _FormatForCommand(token): function _Commands (line 440) | def _Commands(component, depth=3): function _IsOption (line 475) | def _IsOption(arg): function _GetMaps (line 479) | def _GetMaps(name, commands, default_options): FILE: fire/completion_test.py class TabCompletionTest (line 22) | class TabCompletionTest(testutils.BaseTestCase): method testCompletionBashScript (line 24) | def testCompletionBashScript(self): method testCompletionFishScript (line 39) | def testCompletionFishScript(self): method testFnCompletions (line 52) | def testFnCompletions(self): method testListCompletions (line 61) | def testListCompletions(self): method testDictCompletions (line 68) | def testDictCompletions(self): method testDictCompletionsVerbose (line 83) | def testDictCompletionsVerbose(self): method testDeepDictCompletions (line 98) | def testDeepDictCompletions(self): method testDeepDictScript (line 104) | def testDeepDictScript(self): method testFnScript (line 112) | def testFnScript(self): method testClassScript (line 119) | def testClassScript(self): method testDeepDictFishScript (line 127) | def testDeepDictFishScript(self): method testFnFishScript (line 135) | def testFnFishScript(self): method testClassFishScript (line 142) | def testClassFishScript(self): method testNonStringDictCompletions (line 150) | def testNonStringDictCompletions(self): method testGeneratorCompletions (line 163) | def testGeneratorCompletions(self): method testClassCompletions (line 172) | def testClassCompletions(self): method testObjectCompletions (line 176) | def testObjectCompletions(self): method testMethodCompletions (line 181) | def testMethodCompletions(self): FILE: fire/console/console_attr.py class BoxLineCharacters (line 105) | class BoxLineCharacters(object): class BoxLineCharactersUnicode (line 113) | class BoxLineCharactersUnicode(BoxLineCharacters): class BoxLineCharactersAscii (line 139) | class BoxLineCharactersAscii(BoxLineCharacters): class BoxLineCharactersScreenReader (line 165) | class BoxLineCharactersScreenReader(BoxLineCharactersAscii): class ProgressTrackerSymbols (line 177) | class ProgressTrackerSymbols(object): class ProgressTrackerSymbolsUnicode (line 181) | class ProgressTrackerSymbolsUnicode(ProgressTrackerSymbols): method spin_marks (line 185) | def spin_marks(self): class ProgressTrackerSymbolsAscii (line 195) | class ProgressTrackerSymbolsAscii(ProgressTrackerSymbols): method spin_marks (line 199) | def spin_marks(self): class ConsoleAttr (line 209) | class ConsoleAttr(object): method __init__ (line 248) | def __init__(self, encoding=None, suppress_output=False): method _GetConsoleEncoding (line 305) | def _GetConsoleEncoding(self): method Colorize (line 321) | def Colorize(self, string, color, justify=None): method ConvertOutputToUnicode (line 344) | def ConvertOutputToUnicode(self, buf): method GetBoxLineCharacters (line 360) | def GetBoxLineCharacters(self): method GetBullets (line 371) | def GetBullets(self): method GetProgressTrackerSymbols (line 383) | def GetProgressTrackerSymbols(self): method GetControlSequenceIndicator (line 391) | def GetControlSequenceIndicator(self): method GetControlSequenceLen (line 400) | def GetControlSequenceLen(self, buf): method GetEncoding (line 421) | def GetEncoding(self): method GetFontCode (line 425) | def GetFontCode(self, bold=False, italic=False): method GetRawKey (line 447) | def GetRawKey(self): method GetTermIdentifier (line 456) | def GetTermIdentifier(self): method GetTermSize (line 464) | def GetTermSize(self): method DisplayWidth (line 472) | def DisplayWidth(self, buf): method SplitIntoNormalAndControl (line 509) | def SplitIntoNormalAndControl(self, buf): method SplitLine (line 533) | def SplitLine(self, line, width): method SupportsAnsi (line 565) | def SupportsAnsi(self): class Colorizer (line 570) | class Colorizer(object): method __init__ (line 581) | def __init__(self, string, color, justify=None): method __eq__ (line 595) | def __eq__(self, other): method __ne__ (line 598) | def __ne__(self, other): method __gt__ (line 601) | def __gt__(self, other): method __lt__ (line 604) | def __lt__(self, other): method __ge__ (line 607) | def __ge__(self, other): method __le__ (line 610) | def __le__(self, other): method __len__ (line 613) | def __len__(self): method __str__ (line 616) | def __str__(self): method Render (line 619) | def Render(self, stream, justify=None): function GetConsoleAttr (line 631) | def GetConsoleAttr(encoding=None, reset=False): function ResetConsoleAttr (line 664) | def ResetConsoleAttr(encoding=None): function GetCharacterDisplayWidth (line 679) | def GetCharacterDisplayWidth(char): function SafeText (line 714) | def SafeText(data, encoding=None, escape=True): function EncodeToBytes (line 757) | def EncodeToBytes(data): function Decode (line 798) | def Decode(data, encoding=None): FILE: fire/console/console_attr_os.py function GetTermSize (line 28) | def GetTermSize(): function _GetTermSizePosix (line 52) | def _GetTermSizePosix(): function _GetTermSizeWindows (line 92) | def _GetTermSizeWindows(): function _GetTermSizeEnvironment (line 117) | def _GetTermSizeEnvironment(): function _GetTermSizeTput (line 122) | def _GetTermSizeTput(): function GetRawKeyFunction (line 141) | def GetRawKeyFunction(): function _GetRawKeyFunctionPosix (line 158) | def _GetRawKeyFunctionPosix(): function _GetRawKeyFunctionWindows (line 221) | def _GetRawKeyFunctionWindows(): FILE: fire/console/console_io.py function IsInteractive (line 29) | def IsInteractive(output=False, error=False, heuristic=False): function More (line 68) | def More(contents, out, prompt=None, check_pager=True): FILE: fire/console/console_pager.py class Pager (line 28) | class Pager(object): method __init__ (line 91) | def __init__(self, contents, out=None, prompt=None): method _Write (line 124) | def _Write(self, s): method _GetSearchCommand (line 128) | def _GetSearchCommand(self, c): method _Help (line 159) | def _Help(self): method Run (line 169) | def Run(self): FILE: fire/console/encoding.py function Encode (line 26) | def Encode(string, encoding=None): function Decode (line 40) | def Decode(data, encoding=None): function GetEncodedValue (line 124) | def GetEncodedValue(env, name, default=None): function SetEncodedValue (line 144) | def SetEncodedValue(env, name, value, encoding=None): function EncodeEnv (line 170) | def EncodeEnv(env, encoding=None): function _GetEncoding (line 187) | def _GetEncoding(): FILE: fire/console/files.py function _GetSystemPath (line 28) | def _GetSystemPath(): function _FindExecutableOnPath (line 33) | def _FindExecutableOnPath(executable, path, pathext): function _PlatformExecutableExtensions (line 66) | def _PlatformExecutableExtensions(platform): function FindExecutableOnPath (line 73) | def FindExecutableOnPath(executable, path=None, pathext=None, FILE: fire/console/platforms.py class Error (line 28) | class Error(Exception): class InvalidEnumValue (line 33) | class InvalidEnumValue(Error): # pylint: disable=g-bad-exception-name method __init__ (line 36) | def __init__(self, given, enum_type, options): class OperatingSystem (line 50) | class OperatingSystem(object): class _OS (line 53) | class _OS(object): method __init__ (line 57) | def __init__(self, id, name, file_name): method __str__ (line 62) | def __str__(self): method __eq__ (line 65) | def __eq__(self, other): method __hash__ (line 71) | def __hash__(self): method __ne__ (line 74) | def __ne__(self, other): method _CmpHelper (line 78) | def _CmpHelper(cls, x, y): method __lt__ (line 82) | def __lt__(self, other): method __gt__ (line 87) | def __gt__(self, other): method __le__ (line 92) | def __le__(self, other): method __ge__ (line 95) | def __ge__(self, other): method AllValues (line 106) | def AllValues(): method FromId (line 115) | def FromId(os_id, error_on_unknown=True): method Current (line 141) | def Current(): method IsWindows (line 161) | def IsWindows(): class Architecture (line 166) | class Architecture(object): class _ARCH (line 169) | class _ARCH(object): method __init__ (line 173) | def __init__(self, id, name, file_name): method __str__ (line 178) | def __str__(self): method __eq__ (line 181) | def __eq__(self, other): method __hash__ (line 187) | def __hash__(self): method __ne__ (line 190) | def __ne__(self, other): method _CmpHelper (line 194) | def _CmpHelper(cls, x, y): method __lt__ (line 198) | def __lt__(self, other): method __gt__ (line 203) | def __gt__(self, other): method __le__ (line 208) | def __le__(self, other): method __ge__ (line 211) | def __ge__(self, other): method AllValues (line 230) | def AllValues(): method FromId (line 239) | def FromId(architecture_id, error_on_unknown=True): method Current (line 265) | def Current(): class Platform (line 275) | class Platform(object): method __init__ (line 278) | def __init__(self, operating_system, architecture): method __str__ (line 288) | def __str__(self): method Current (line 292) | def Current(os_override=None, arch_override=None): method UserAgentFragment (line 307) | def UserAgentFragment(self): method AsyncPopenArgs (line 343) | def AsyncPopenArgs(self): class PythonVersion (line 380) | class PythonVersion(object): method __init__ (line 401) | def __init__(self, version=None): method SupportedVersionMessage (line 409) | def SupportedVersionMessage(self, allow_py3): method IsCompatible (line 421) | def IsCompatible(self, allow_py3=False, raise_exception=False): FILE: fire/console/text.py class TextAttributes (line 24) | class TextAttributes(object): method __init__ (line 27) | def __init__(self, format_str=None, color=None, attrs=None): method format_str (line 41) | def format_str(self): method color (line 45) | def color(self): method attrs (line 49) | def attrs(self): class TypedText (line 53) | class TypedText(object): method __init__ (line 56) | def __init__(self, texts, text_type=None): method __len__ (line 68) | def __len__(self): method __add__ (line 74) | def __add__(self, other): method __radd__ (line 78) | def __radd__(self, other): class _TextTypes (line 83) | class _TextTypes(enum.Enum): method __call__ (line 86) | def __call__(self, *args): class TextTypes (line 92) | class TextTypes(_TextTypes): FILE: fire/core.py function Fire (line 73) | def Fire(component=None, command=None, name=None, serialize=None): function Display (line 167) | def Display(lines, out): function CompletionScript (line 172) | def CompletionScript(name, component, shell): class FireError (line 177) | class FireError(Exception): class FireExit (line 185) | class FireExit(SystemExit): # pylint: disable=g-bad-exception-name method __init__ (line 195) | def __init__(self, code, component_trace): function _IsHelpShortcut (line 206) | def _IsHelpShortcut(component_trace, remaining_args): function _PrintResult (line 239) | def _PrintResult(component_trace, verbose=False, serialize=None): function _DisplayError (line 278) | def _DisplayError(component_trace): function _DictAsString (line 305) | def _DictAsString(result, verbose=False): function _OneLineResult (line 340) | def _OneLineResult(result): function _Fire (line 361) | def _Fire(component, args, parsed_flag_args, context, name=None): function _GetMember (line 622) | def _GetMember(component, args): function _CallAndUpdateTrace (line 652) | def _CallAndUpdateTrace(component, args, component_trace, treatment='cla... function _MakeParseFn (line 705) | def _MakeParseFn(fn, metadata): function _ParseArgs (line 763) | def _ParseArgs(fn_args, fn_defaults, num_required_args, kwargs, function _ParseKeywordArgs (line 822) | def _ParseKeywordArgs(args, fn_spec): function _IsFlag (line 942) | def _IsFlag(argument): function _IsSingleCharFlag (line 955) | def _IsSingleCharFlag(argument): function _IsMultiCharFlag (line 960) | def _IsMultiCharFlag(argument): function _ParseValue (line 965) | def _ParseValue(value, index, arg, metadata): FILE: fire/core_test.py class CoreTest (line 25) | class CoreTest(testutils.BaseTestCase): method testOneLineResult (line 27) | def testOneLineResult(self): method testOneLineResultCircularRef (line 33) | def testOneLineResultCircularRef(self): method testInteractiveMode (line 39) | def testInteractiveMode(self, mock_embed): method testInteractiveModeFullArgument (line 46) | def testInteractiveModeFullArgument(self, mock_embed): method testInteractiveModeVariables (line 51) | def testInteractiveModeVariables(self, mock_embed): method testInteractiveModeVariablesWithName (line 61) | def testInteractiveModeVariablesWithName(self, mock_embed): method testHelpWithClass (line 73) | def testHelpWithClass(self): method testHelpWithMember (line 81) | def testHelpWithMember(self): method testHelpOnErrorInConstructor (line 93) | def testHelpOnErrorInConstructor(self): method testHelpWithNamespaceCollision (line 99) | def testHelpWithNamespaceCollision(self): method testInvalidParameterRaisesFireExit (line 110) | def testInvalidParameterRaisesFireExit(self): method testErrorRaising (line 114) | def testErrorRaising(self): method testFireError (line 120) | def testFireError(self): method testFireErrorMultipleValues (line 124) | def testFireErrorMultipleValues(self): method testPrintEmptyDict (line 128) | def testPrintEmptyDict(self): method testPrintOrderedDict (line 134) | def testPrintOrderedDict(self): method testPrintNamedTupleField (line 140) | def testPrintNamedTupleField(self): method testPrintNamedTupleFieldNameEqualsValue (line 144) | def testPrintNamedTupleFieldNameEqualsValue(self): method testPrintNamedTupleIndex (line 148) | def testPrintNamedTupleIndex(self): method testPrintSet (line 152) | def testPrintSet(self): method testPrintFrozenSet (line 156) | def testPrintFrozenSet(self): method testPrintNamedTupleNegativeIndex (line 160) | def testPrintNamedTupleNegativeIndex(self): method testCallable (line 164) | def testCallable(self): method testCallableWithPositionalArgs (line 172) | def testCallableWithPositionalArgs(self): method testStaticMethod (line 178) | def testStaticMethod(self): method testClassMethod (line 185) | def testClassMethod(self): method testCustomSerialize (line 192) | def testCustomSerialize(self): method testLruCacheDecoratorBoundArg (line 216) | def testLruCacheDecoratorBoundArg(self): method testLruCacheDecorator (line 221) | def testLruCacheDecorator(self): FILE: fire/custom_descriptions.py function NeedsCustomDescription (line 45) | def NeedsCustomDescription(component): function GetStringTypeSummary (line 71) | def GetStringTypeSummary(obj, available_space, line_length): function GetStringTypeDescription (line 98) | def GetStringTypeDescription(obj, available_space, line_length): function GetSummary (line 131) | def GetSummary(obj, available_space, line_length): function GetDescription (line 139) | def GetDescription(obj, available_space, line_length): FILE: fire/custom_descriptions_test.py class CustomDescriptionTest (line 23) | class CustomDescriptionTest(testutils.BaseTestCase): method test_string_type_summary_enough_space (line 25) | def test_string_type_summary_enough_space(self): method test_string_type_summary_not_enough_space_truncated (line 31) | def test_string_type_summary_not_enough_space_truncated(self): method test_string_type_summary_not_enough_space_new_line (line 37) | def test_string_type_summary_not_enough_space_new_line(self): method test_string_type_summary_not_enough_space_long_truncated (line 43) | def test_string_type_summary_not_enough_space_long_truncated(self): method test_string_type_description_enough_space (line 49) | def test_string_type_description_enough_space(self): method test_string_type_description_not_enough_space_truncated (line 55) | def test_string_type_description_not_enough_space_truncated(self): method test_string_type_description_not_enough_space_new_line (line 61) | def test_string_type_description_not_enough_space_new_line(self): FILE: fire/decorators.py function SetParseFn (line 29) | def SetParseFn(fn, *arguments): function SetParseFns (line 52) | def SetParseFns(*positional, **named): function _SetMetadata (line 78) | def _SetMetadata(fn, attribute, value): function GetMetadata (line 84) | def GetMetadata(fn) -> Dict[str, Any]: function GetParseFns (line 107) | def GetParseFns(fn) -> Dict[str, Any]: FILE: fire/decorators_test.py class NoDefaults (line 22) | class NoDefaults: method double (line 26) | def double(self, count): method triple (line 30) | def triple(self, count): method quadruple (line 34) | def quadruple(self, count): function double (line 39) | def double(count): class WithDefaults (line 43) | class WithDefaults: method example1 (line 46) | def example1(self, arg1=10): method example2 (line 50) | def example2(self, arg1=10): class MixedArguments (line 54) | class MixedArguments: method example3 (line 57) | def example3(self, arg1, arg2): class PartialParseFn (line 61) | class PartialParseFn: method example4 (line 64) | def example4(self, arg1, arg2): method example5 (line 68) | def example5(self, arg1, arg2): class WithKwargs (line 72) | class WithKwargs: method example6 (line 75) | def example6(self, **kwargs): class WithVarArgs (line 82) | class WithVarArgs: method example7 (line 85) | def example7(self, arg1, arg2=None, *varargs, **kwargs): # pylint: di... class FireDecoratorsTest (line 89) | class FireDecoratorsTest(testutils.BaseTestCase): method testSetParseFnsNamedArgs (line 91) | def testSetParseFnsNamedArgs(self): method testSetParseFnsPositionalArgs (line 95) | def testSetParseFnsPositionalArgs(self): method testSetParseFnsFnWithPositionalArgs (line 98) | def testSetParseFnsFnWithPositionalArgs(self): method testSetParseFnsDefaultsFromPython (line 101) | def testSetParseFnsDefaultsFromPython(self): method testSetParseFnsDefaultsFromFire (line 107) | def testSetParseFnsDefaultsFromFire(self): method testSetParseFnsNamedDefaultsFromPython (line 117) | def testSetParseFnsNamedDefaultsFromPython(self): method testSetParseFnsNamedDefaultsFromFire (line 123) | def testSetParseFnsNamedDefaultsFromFire(self): method testSetParseFnsPositionalAndNamed (line 133) | def testSetParseFnsPositionalAndNamed(self): method testSetParseFnsOnlySomeTypes (line 137) | def testSetParseFnsOnlySomeTypes(self): method testSetParseFnsForKeywordArgs (line 143) | def testSetParseFnsForKeywordArgs(self): method testSetParseFn (line 162) | def testSetParseFn(self): FILE: fire/docstrings.py class DocstringInfo (line 58) | class DocstringInfo( class ArgInfo (line 66) | class ArgInfo( class KwargInfo (line 74) | class KwargInfo(ArgInfo): class Namespace (line 79) | class Namespace(dict): method __getattr__ (line 82) | def __getattr__(self, key): method __setattr__ (line 87) | def __setattr__(self, key, value): method __delattr__ (line 90) | def __delattr__(self, key): class Sections (line 95) | class Sections(enum.Enum): class Formats (line 103) | class Formats(enum.Enum): function parse (line 118) | def parse(docstring): function _strip_blank_lines (line 211) | def _strip_blank_lines(lines): function _is_blank (line 234) | def _is_blank(line): function _join_lines (line 238) | def _join_lines(lines): function _get_or_create_arg_by_name (line 274) | def _get_or_create_arg_by_name(state, name, is_kwarg=False): function _is_arg_name (line 302) | def _is_arg_name(name): function _as_arg_name_and_type (line 322) | def _as_arg_name_and_type(text): function _as_arg_names (line 345) | def _as_arg_names(names_str): function _cast_to_known_type (line 367) | def _cast_to_known_type(name): function _consume_google_args_line (line 386) | def _consume_google_args_line(line_info, state): function _consume_line (line 411) | def _consume_line(line_info, state): function _create_line_info (line 510) | def _create_line_info(line, next_line, previous_line): function _update_section_state (line 533) | def _update_section_state(line_info, state): function _google_section_permitted (line 577) | def _google_section_permitted(line_info, state): function _matches_section_title (line 604) | def _matches_section_title(title, section_title): function _matches_section (line 619) | def _matches_section(title, section): function _section_from_possible_title (line 639) | def _section_from_possible_title(possible_title): function _google_section (line 653) | def _google_section(line_info): function _get_after_google_header (line 672) | def _get_after_google_header(line_info): function _get_directive (line 678) | def _get_directive(line_info): function _get_after_directive (line 696) | def _get_after_directive(line_info): function _rst_section (line 705) | def _rst_section(line_info): function _line_is_hyphens (line 724) | def _line_is_hyphens(line): function _numpy_section (line 729) | def _numpy_section(line_info): function _line_is_numpy_parameter_type (line 751) | def _line_is_numpy_parameter_type(line_info): FILE: fire/docstrings_fuzz_test.py class DocstringsFuzzTest (line 26) | class DocstringsFuzzTest(testutils.BaseTestCase): method test_fuzz_parse (line 31) | def test_fuzz_parse(self, value): FILE: fire/docstrings_test.py class DocstringsTest (line 27) | class DocstringsTest(testutils.BaseTestCase): method test_one_line_simple (line 29) | def test_one_line_simple(self): method test_one_line_simple_whitespace (line 37) | def test_one_line_simple_whitespace(self): method test_one_line_too_long (line 47) | def test_one_line_too_long(self): method test_one_line_runs_over (line 60) | def test_one_line_runs_over(self): method test_one_line_runs_over_whitespace (line 73) | def test_one_line_runs_over_whitespace(self): method test_google_format_args_only (line 85) | def test_google_format_args_only(self): method test_google_format_arg_named_args (line 102) | def test_google_format_arg_named_args(self): method test_google_format_typed_args_and_returns (line 115) | def test_google_format_typed_args_and_returns(self): method test_google_format_multiline_arg_description (line 143) | def test_google_format_multiline_arg_description(self): method test_rst_format_typed_args_and_returns (line 169) | def test_rst_format_typed_args_and_returns(self): method test_numpy_format_typed_args_and_returns (line 198) | def test_numpy_format_typed_args_and_returns(self): method test_numpy_format_multiline_arg_description (line 232) | def test_numpy_format_multiline_arg_description(self): method test_multisection_docstring (line 261) | def test_multisection_docstring(self): method test_google_section_with_blank_first_line (line 280) | def test_google_section_with_blank_first_line(self): method test_ill_formed_docstring (line 293) | def test_ill_formed_docstring(self): method test_strip_blank_lines (line 303) | def test_strip_blank_lines(self): method test_numpy_colon_in_description (line 309) | def test_numpy_colon_in_description(self): method test_rst_format_typed_args_and_kwargs (line 335) | def test_rst_format_typed_args_and_kwargs(self): FILE: fire/fire_import_test.py class FireImportTest (line 24) | class FireImportTest(testutils.BaseTestCase): method testFire (line 27) | def testFire(self): method testFireMethods (line 31) | def testFireMethods(self): method testNoPrivateMethods (line 34) | def testNoPrivateMethods(self): FILE: fire/fire_test.py class FireTest (line 26) | class FireTest(testutils.BaseTestCase): method testFire (line 28) | def testFire(self): method testFirePositionalCommand (line 42) | def testFirePositionalCommand(self): method testFireInvalidCommandArg (line 47) | def testFireInvalidCommandArg(self): method testFireDefaultName (line 52) | def testFireDefaultName(self): method testFireNoArgs (line 60) | def testFireNoArgs(self): method testFireExceptions (line 63) | def testFireExceptions(self): method testFireNamedArgs (line 76) | def testFireNamedArgs(self): method testFireNamedArgsSingleHyphen (line 88) | def testFireNamedArgsSingleHyphen(self): method testFireNamedArgsWithEquals (line 100) | def testFireNamedArgsWithEquals(self): method testFireNamedArgsWithEqualsSingleHyphen (line 106) | def testFireNamedArgsWithEqualsSingleHyphen(self): method testFireAllNamedArgs (line 112) | def testFireAllNamedArgs(self): method testFireAllNamedArgsOneMissing (line 129) | def testFireAllNamedArgsOneMissing(self): method testFirePartialNamedArgs (line 137) | def testFirePartialNamedArgs(self): method testFirePartialNamedArgsOneMissing (line 161) | def testFirePartialNamedArgsOneMissing(self): method testFireAnnotatedArgs (line 177) | def testFireAnnotatedArgs(self): method testFireKeywordOnlyArgs (line 181) | def testFireKeywordOnlyArgs(self): method testFireProperties (line 191) | def testFireProperties(self): method testFireRecursion (line 195) | def testFireRecursion(self): method testFireVarArgs (line 202) | def testFireVarArgs(self): method testFireVarArgsWithNamedArgs (line 211) | def testFireVarArgsWithNamedArgs(self): method testFireKeywordArgs (line 219) | def testFireKeywordArgs(self): method testFireKeywordArgsWithMissingPositionalArgs (line 253) | def testFireKeywordArgsWithMissingPositionalArgs(self): method testFireObject (line 261) | def testFireObject(self): method testFireDict (line 267) | def testFireDict(self): method testFireObjectWithDict (line 275) | def testFireObjectWithDict(self): method testFireSet (line 285) | def testFireSet(self): method testFireFrozenset (line 290) | def testFireFrozenset(self): method testFireList (line 295) | def testFireList(self): method testFireObjectWithList (line 301) | def testFireObjectWithList(self): method testFireObjectWithTuple (line 307) | def testFireObjectWithTuple(self): method testFireObjectWithListAsObject (line 313) | def testFireObjectWithListAsObject(self): method testFireObjectWithTupleAsObject (line 318) | def testFireObjectWithTupleAsObject(self): method testFireNoComponent (line 323) | def testFireNoComponent(self): method testFireUnderscores (line 332) | def testFireUnderscores(self): method testFireUnderscoresInArg (line 340) | def testFireUnderscoresInArg(self): method testBoolParsing (line 353) | def testBoolParsing(self): method testBoolParsingContinued (line 367) | def testBoolParsingContinued(self): method testBoolParsingSingleHyphen (line 387) | def testBoolParsingSingleHyphen(self): method testBoolParsingLessExpectedCases (line 404) | def testBoolParsingLessExpectedCases(self): method testSingleCharFlagParsing (line 435) | def testSingleCharFlagParsing(self): method testSingleCharFlagParsingEqualSign (line 460) | def testSingleCharFlagParsingEqualSign(self): method testSingleCharFlagParsingExactMatch (line 477) | def testSingleCharFlagParsingExactMatch(self): method testSingleCharFlagParsingCapitalLetter (line 494) | def testSingleCharFlagParsingCapitalLetter(self): method testBoolParsingWithNo (line 499) | def testBoolParsingWithNo(self): method testTraceFlag (line 534) | def testTraceFlag(self): method testHelpFlag (line 542) | def testHelpFlag(self): method testHelpFlagAndTraceFlag (line 550) | def testHelpFlagAndTraceFlag(self): method testTabCompletionNoName (line 559) | def testTabCompletionNoName(self): method testTabCompletion (line 564) | def testTabCompletion(self): method testTabCompletionWithDict (line 570) | def testTabCompletionWithDict(self): method testBasicSeparator (line 577) | def testBasicSeparator(self): method testNonComparable (line 596) | def testNonComparable(self): method testExtraSeparators (line 609) | def testExtraSeparators(self): method testSeparatorForChaining (line 622) | def testSeparatorForChaining(self): method testNegativeNumbers (line 644) | def testNegativeNumbers(self): method testFloatForExpectedInt (line 649) | def testFloatForExpectedInt(self): method testClassInstantiation (line 661) | def testClassInstantiation(self): method testTraceErrors (line 669) | def testTraceErrors(self): method testClassWithDefaultMethod (line 698) | def testClassWithDefaultMethod(self): method testClassWithInvalidProperty (line 703) | def testClassWithInvalidProperty(self): method testHelpKwargsDecorator (line 708) | def testHelpKwargsDecorator(self): method testFireAsyncio (line 715) | def testFireAsyncio(self): FILE: fire/formatting.py function Indent (line 24) | def Indent(text, spaces=2): function Bold (line 31) | def Bold(text): function Underline (line 35) | def Underline(text): function BoldUnderline (line 39) | def BoldUnderline(text): function WrappedJoin (line 43) | def WrappedJoin(items, separator=' | ', width=80): function Error (line 66) | def Error(text): function EllipsisTruncate (line 70) | def EllipsisTruncate(text, available_space, line_length): function EllipsisMiddleTruncate (line 80) | def EllipsisMiddleTruncate(text, available_space, line_length): function DoubleQuote (line 92) | def DoubleQuote(text): FILE: fire/formatting_test.py class FormattingTest (line 23) | class FormattingTest(testutils.BaseTestCase): method test_bold (line 25) | def test_bold(self): method test_underline (line 29) | def test_underline(self): method test_indent (line 33) | def test_indent(self): method test_indent_multiple_lines (line 37) | def test_indent_multiple_lines(self): method test_wrap_one_item (line 41) | def test_wrap_one_item(self): method test_wrap_multiple_items (line 45) | def test_wrap_multiple_items(self): method test_ellipsis_truncate (line 52) | def test_ellipsis_truncate(self): method test_ellipsis_truncate_not_enough_space (line 58) | def test_ellipsis_truncate_not_enough_space(self): method test_ellipsis_middle_truncate (line 64) | def test_ellipsis_middle_truncate(self): method test_ellipsis_middle_truncate_not_enough_space (line 70) | def test_ellipsis_middle_truncate_not_enough_space(self): FILE: fire/formatting_windows.py function initialize_or_disable (line 30) | def initialize_or_disable(): FILE: fire/helptext.py function HelpText (line 50) | def HelpText(component, trace=None, verbose=False): function _NameSection (line 97) | def _NameSection(component, info, trace=None, verbose=False) -> tuple[st... function _SynopsisSection (line 118) | def _SynopsisSection(component, actions_grouped_by_kind, spec, metadata, function _DescriptionSection (line 142) | def _DescriptionSection(component, info) -> tuple[str, str] | None: function _CreateKeywordOnlyFlagItem (line 170) | def _CreateKeywordOnlyFlagItem(flag, docstring_info, spec, short_arg): function _GetShortFlags (line 176) | def _GetShortFlags(flags): function _ArgsAndFlagsSections (line 191) | def _ArgsAndFlagsSections(info, spec, metadata): function _UsageDetailsSections (line 287) | def _UsageDetailsSections(component, actions_grouped_by_kind): function _GetSummary (line 304) | def _GetSummary(info): function _GetDescription (line 309) | def _GetDescription(info): function _GetArgsAndFlagsString (line 314) | def _GetArgsAndFlagsString(spec, metadata): function _GetPossibleActions (line 363) | def _GetPossibleActions(actions_grouped_by_kind): function _GetPossibleActionsString (line 372) | def _GetPossibleActionsString(possible_actions): function _GetActionsGroupedByKind (line 378) | def _GetActionsGroupedByKind(component, verbose=False): function _GetCurrentCommand (line 405) | def _GetCurrentCommand(trace=None, include_separators=True): function _CreateOutputSection (line 414) | def _CreateOutputSection(name: str, content: str) -> str: function _CreateArgItem (line 419) | def _CreateArgItem(arg, docstring_info, spec): function _CreateFlagItem (line 452) | def _CreateFlagItem(flag, docstring_info, spec, required=False, function _GetArgType (line 514) | def _GetArgType(arg, spec): function _GetArgDefault (line 537) | def _GetArgDefault(flag, spec): function _CreateItem (line 560) | def _CreateItem(name, description, indent=2): function _GetArgDescription (line 568) | def _GetArgDescription(name, docstring_info): function _MakeUsageDetailsSection (line 576) | def _MakeUsageDetailsSection(action_group): function _ValuesUsageDetailsSection (line 597) | def _ValuesUsageDetailsSection(component, values): function _NewChoicesSection (line 616) | def _NewChoicesSection(name, choices): function UsageText (line 624) | def UsageText(component, trace=None, verbose=False): function _GetPossibleActionsUsageString (line 684) | def _GetPossibleActionsUsageString(possible_actions): function _UsageAvailabilityLines (line 691) | def _UsageAvailabilityLines(actions_grouped_by_kind): function _GetCallableUsageItems (line 703) | def _GetCallableUsageItems(spec, metadata): function _KeywordOnlyArguments (line 727) | def _KeywordOnlyArguments(spec, required=True): function _GetCallableAvailabilityLines (line 732) | def _GetCallableAvailabilityLines(spec): function _CreateAvailabilityLine (line 763) | def _CreateAvailabilityLine(header, items, class ActionGroup (line 773) | class ActionGroup: method __init__ (line 776) | def __init__(self, name, plural): method Add (line 782) | def Add(self, name, member=None): method GetItems (line 786) | def GetItems(self): FILE: fire/helptext_test.py class HelpTest (line 27) | class HelpTest(testutils.BaseTestCase): method setUp (line 29) | def setUp(self): method testHelpTextNoDefaults (line 33) | def testHelpTextNoDefaults(self): method testHelpTextNoDefaultsObject (line 43) | def testHelpTextNoDefaultsObject(self): method testHelpTextFunction (line 57) | def testHelpTextFunction(self): method testHelpTextFunctionWithDefaults (line 70) | def testHelpTextFunctionWithDefaults(self): method testHelpTextFunctionWithLongDefaults (line 83) | def testHelpTextFunctionWithLongDefaults(self): method testHelpTextFunctionWithKwargs (line 98) | def testHelpTextFunctionWithKwargs(self): method testHelpTextFunctionWithKwargsAndDefaults (line 111) | def testHelpTextFunctionWithKwargsAndDefaults(self): method testHelpTextFunctionWithDefaultsAndTypes (line 126) | def testHelpTextFunctionWithDefaultsAndTypes(self): method testHelpTextFunctionWithTypesAndDefaultNone (line 140) | def testHelpTextFunctionWithTypesAndDefaultNone(self): method testHelpTextFunctionWithTypes (line 155) | def testHelpTextFunctionWithTypes(self): method testHelpTextFunctionWithLongTypes (line 170) | def testHelpTextFunctionWithLongTypes(self): method testHelpTextFunctionWithBuiltin (line 189) | def testHelpTextFunctionWithBuiltin(self): method testHelpTextFunctionIntType (line 201) | def testHelpTextFunctionIntType(self): method testHelpTextEmptyList (line 211) | def testHelpTextEmptyList(self): method testHelpTextShortList (line 226) | def testHelpTextShortList(self): method testHelpTextInt (line 244) | def testHelpTextInt(self): method testHelpTextNoInit (line 257) | def testHelpTextNoInit(self): method testHelpTextKeywordOnlyArgumentsWithDefault (line 265) | def testHelpTextKeywordOnlyArgumentsWithDefault(self): method testHelpTextKeywordOnlyArgumentsWithoutDefault (line 272) | def testHelpTextKeywordOnlyArgumentsWithoutDefault(self): method testHelpTextFunctionMixedDefaults (line 279) | def testHelpTextFunctionMixedDefaults(self): method testHelpScreen (line 288) | def testHelpScreen(self): method testHelpScreenForFunctionDocstringWithLineBreak (line 316) | def testHelpScreenForFunctionDocstringWithLineBreak(self): method testHelpScreenForFunctionFunctionWithDefaultArgs (line 339) | def testHelpScreenForFunctionFunctionWithDefaultArgs(self): method testHelpTextUnderlineFlag (line 360) | def testHelpTextUnderlineFlag(self): method testHelpTextBoldCommandName (line 373) | def testHelpTextBoldCommandName(self): method testHelpTextObjectWithGroupAndValues (line 385) | def testHelpTextObjectWithGroupAndValues(self): method testHelpTextNameSectionCommandWithSeparator (line 400) | def testHelpTextNameSectionCommandWithSeparator(self): method testHelpTextNameSectionCommandWithSeparatorVerbose (line 408) | def testHelpTextNameSectionCommandWithSeparatorVerbose(self): method testHelpTextMultipleKeywoardArgumentsWithShortArgs (line 416) | def testHelpTextMultipleKeywoardArgumentsWithShortArgs(self): class UsageTest (line 431) | class UsageTest(testutils.BaseTestCase): method testUsageOutput (line 433) | def testUsageOutput(self): method testUsageOutputVerbose (line 448) | def testUsageOutputVerbose(self): method testUsageOutputMethod (line 462) | def testUsageOutputMethod(self): method testUsageOutputFunctionWithHelp (line 476) | def testUsageOutputFunctionWithHelp(self): method testUsageOutputFunctionWithDocstring (line 490) | def testUsageOutputFunctionWithDocstring(self): method testUsageOutputFunctionMixedDefaults (line 504) | def testUsageOutputFunctionMixedDefaults(self): method testUsageOutputCallable (line 518) | def testUsageOutputCallable(self): method testUsageOutputConstructorWithParameter (line 535) | def testUsageOutputConstructorWithParameter(self): method testUsageOutputConstructorWithParameterVerbose (line 548) | def testUsageOutputConstructorWithParameterVerbose(self): method testUsageOutputEmptyDict (line 562) | def testUsageOutputEmptyDict(self): method testUsageOutputNone (line 575) | def testUsageOutputNone(self): method testInitRequiresFlagSyntaxSubclassNamedTuple (line 588) | def testInitRequiresFlagSyntaxSubclassNamedTuple(self): FILE: fire/inspectutils.py class FullArgSpec (line 24) | class FullArgSpec: method __init__ (line 27) | def __init__(self, args=None, varargs=None, varkw=None, defaults=None, function _GetArgSpecInfo (line 49) | def _GetArgSpecInfo(fn): function Py3GetFullArgSpec (line 87) | def Py3GetFullArgSpec(fn): function GetFullArgSpec (line 161) | def GetFullArgSpec(fn): function GetFileAndLine (line 209) | def GetFileAndLine(component): function Info (line 236) | def Info(component): function _InfoBackup (line 281) | def _InfoBackup(component): function IsNamedTuple (line 312) | def IsNamedTuple(component): function GetClassAttrsDict (line 334) | def GetClassAttrsDict(component): function IsCoroutineFunction (line 345) | def IsCoroutineFunction(fn): FILE: fire/inspectutils_test.py class InspectUtilsTest (line 24) | class InspectUtilsTest(testutils.BaseTestCase): method testGetFullArgSpec (line 26) | def testGetFullArgSpec(self): method testGetFullArgSpecPy3 (line 36) | def testGetFullArgSpecPy3(self): method testGetFullArgSpecFromBuiltin (line 47) | def testGetFullArgSpecFromBuiltin(self): method testGetFullArgSpecFromSlotWrapper (line 55) | def testGetFullArgSpecFromSlotWrapper(self): method testGetFullArgSpecFromNamedTuple (line 65) | def testGetFullArgSpecFromNamedTuple(self): method testGetFullArgSpecFromNamedTupleSubclass (line 75) | def testGetFullArgSpecFromNamedTupleSubclass(self): method testGetFullArgSpecFromClassNoInit (line 85) | def testGetFullArgSpecFromClassNoInit(self): method testGetFullArgSpecFromMethod (line 95) | def testGetFullArgSpecFromMethod(self): method testInfoOne (line 105) | def testInfoOne(self): method testInfoClass (line 112) | def testInfoClass(self): method testInfoClassNoInit (line 118) | def testInfoClassNoInit(self): method testInfoNoDocstring (line 124) | def testInfoNoDocstring(self): FILE: fire/interact.py function Embed (line 26) | def Embed(variables, verbose=False): function _AvailableString (line 42) | def _AvailableString(variables, verbose=False): function _EmbedIPython (line 81) | def _EmbedIPython(variables, argv=None): function _EmbedCode (line 94) | def _EmbedCode(variables): FILE: fire/interact_test.py class InteractTest (line 30) | class InteractTest(testutils.BaseTestCase): method testInteract (line 33) | def testInteract(self, mock_interact_method): method testInteractVariables (line 39) | def testInteractVariables(self, mock_interact_method): FILE: fire/main_test.py class MainModuleTest (line 24) | class MainModuleTest(testutils.BaseTestCase): method testNameSetting (line 27) | def testNameSetting(self): method testArgPassing (line 32) | def testArgPassing(self): class MainModuleFileTest (line 42) | class MainModuleFileTest(testutils.BaseTestCase): method setUp (line 45) | def setUp(self): method testFileNameFire (line 53) | def testFileNameFire(self): method testFileNameFailure (line 59) | def testFileNameFailure(self): method testFileNameModuleDuplication (line 65) | def testFileNameModuleDuplication(self): method testFileNameModuleFileFailure (line 78) | def testFileNameModuleFileFailure(self): FILE: fire/parser.py function CreateParser (line 27) | def CreateParser(): function SeparateFlagArgs (line 39) | def SeparateFlagArgs(args): function DefaultParseValue (line 59) | def DefaultParseValue(value): function _LiteralEval (line 79) | def _LiteralEval(value): function _Replacement (line 119) | def _Replacement(node): FILE: fire/parser_fuzz_test.py class ParserFuzzTest (line 26) | class ParserFuzzTest(testutils.BaseTestCase): method testDefaultParseValueFuzz (line 51) | def testDefaultParseValueFuzz(self, value): FILE: fire/parser_test.py class ParserTest (line 21) | class ParserTest(testutils.BaseTestCase): method testCreateParser (line 23) | def testCreateParser(self): method testSeparateFlagArgs (line 26) | def testSeparateFlagArgs(self): method testDefaultParseValueStrings (line 44) | def testDefaultParseValueStrings(self): method testDefaultParseValueQuotedStrings (line 50) | def testDefaultParseValueQuotedStrings(self): method testDefaultParseValueSpecialStrings (line 58) | def testDefaultParseValueSpecialStrings(self): method testDefaultParseValueNumbers (line 66) | def testDefaultParseValueNumbers(self): method testDefaultParseValueStringNumbers (line 75) | def testDefaultParseValueStringNumbers(self): method testDefaultParseValueQuotedStringNumbers (line 83) | def testDefaultParseValueQuotedStringNumbers(self): method testDefaultParseValueOtherNumbers (line 86) | def testDefaultParseValueOtherNumbers(self): method testDefaultParseValueLists (line 89) | def testDefaultParseValueLists(self): method testDefaultParseValueBareWordsLists (line 96) | def testDefaultParseValueBareWordsLists(self): method testDefaultParseValueDict (line 99) | def testDefaultParseValueDict(self): method testDefaultParseValueNone (line 103) | def testDefaultParseValueNone(self): method testDefaultParseValueBool (line 106) | def testDefaultParseValueBool(self): method testDefaultParseValueBareWordsTuple (line 110) | def testDefaultParseValueBareWordsTuple(self): method testDefaultParseValueNestedContainers (line 114) | def testDefaultParseValueNestedContainers(self): method testDefaultParseValueComments (line 120) | def testDefaultParseValueComments(self): method testDefaultParseValueBadLiteral (line 125) | def testDefaultParseValueBadLiteral(self): method testDefaultParseValueSyntaxError (line 131) | def testDefaultParseValueSyntaxError(self): method testDefaultParseValueIgnoreBinOp (line 135) | def testDefaultParseValueIgnoreBinOp(self): FILE: fire/test_components.py function identity (line 24) | def identity(arg1, arg2, arg3=10, arg4=20, *arg5, **arg6): # pylint: di... function multiplier_with_docstring (line 30) | def multiplier_with_docstring(num, rate=2): function function_with_help (line 42) | def function_with_help(help=True): # pylint: disable=redefined-builtin class Empty (line 46) | class Empty: class OldStyleEmpty (line 50) | class OldStyleEmpty: # pylint: disable=old-style-class,no-init class WithInit (line 54) | class WithInit: method __init__ (line 56) | def __init__(self): class ErrorInConstructor (line 60) | class ErrorInConstructor: method __init__ (line 62) | def __init__(self, value='value'): class WithHelpArg (line 67) | class WithHelpArg: method __init__ (line 70) | def __init__(self, help=True): # pylint: disable=redefined-builtin class NoDefaults (line 75) | class NoDefaults: method double (line 77) | def double(self, count): method triple (line 80) | def triple(self, count): class WithDefaults (line 84) | class WithDefaults: method double (line 87) | def double(self, count=0): method triple (line 98) | def triple(self, count=0): method text (line 101) | def text( class OldStyleWithDefaults (line 109) | class OldStyleWithDefaults: # pylint: disable=old-style-class,no-init method double (line 111) | def double(self, count=0): method triple (line 114) | def triple(self, count=0): class MixedDefaults (line 118) | class MixedDefaults: method ten (line 120) | def ten(self): method sum (line 123) | def sum(self, alpha=0, beta=0): method identity (line 126) | def identity(self, alpha, beta='0'): class SimilarArgNames (line 130) | class SimilarArgNames: method identity (line 132) | def identity(self, bool_one=False, bool_two=False): method identity2 (line 135) | def identity2(self, a=None, alpha=None): class CapitalizedArgNames (line 139) | class CapitalizedArgNames: method sum (line 141) | def sum(self, Delta=1.0, Gamma=2.0): # pylint: disable=invalid-name class Annotations (line 145) | class Annotations: method double (line 147) | def double(self, count=0): method triple (line 150) | def triple(self, count=0): class TypedProperties (line 157) | class TypedProperties: method __init__ (line 160) | def __init__(self): class VarArgs (line 176) | class VarArgs: method cumsums (line 179) | def cumsums(self, *items): method varchars (line 190) | def varchars(self, alpha=0, beta=0, *chars): # pylint: disable=keywor... class Underscores (line 194) | class Underscores: method __init__ (line 196) | def __init__(self): method underscore_function (line 199) | def underscore_function(self, underscore_arg): class BoolConverter (line 203) | class BoolConverter: method as_bool (line 205) | def as_bool(self, arg=False): class ReturnsObj (line 209) | class ReturnsObj: method get_obj (line 211) | def get_obj(self, *items): class NumberDefaults (line 216) | class NumberDefaults: method reciprocal (line 218) | def reciprocal(self, divisor=10.0): method integer_reciprocal (line 221) | def integer_reciprocal(self, divisor=10): class InstanceVars (line 225) | class InstanceVars: method __init__ (line 227) | def __init__(self, arg1, arg2): method run (line 231) | def run(self, arg1, arg2): class Kwargs (line 235) | class Kwargs: method props (line 237) | def props(self, **kwargs): method upper (line 240) | def upper(self, **kwargs): method run (line 243) | def run(self, positional, named=None, **kwargs): class ErrorRaiser (line 247) | class ErrorRaiser: method fail (line 249) | def fail(self): class NonComparable (line 253) | class NonComparable: method __eq__ (line 255) | def __eq__(self, other): method __ne__ (line 258) | def __ne__(self, other): class EmptyDictOutput (line 262) | class EmptyDictOutput: method totally_empty (line 264) | def totally_empty(self): method nothing_printable (line 267) | def nothing_printable(self): class CircularReference (line 271) | class CircularReference: method create (line 273) | def create(self): class OrderedDictionary (line 279) | class OrderedDictionary: method empty (line 281) | def empty(self): method non_empty (line 284) | def non_empty(self): class NamedTuple (line 291) | class NamedTuple: method point (line 294) | def point(self): method matching_names (line 300) | def matching_names(self): class CallableWithPositionalArgs (line 307) | class CallableWithPositionalArgs: method __call__ (line 312) | def __call__(self, x, y): method fn (line 315) | def fn(self, x): class SubPoint (line 322) | class SubPoint(NamedTuplePoint): method coordinate_sum (line 325) | def coordinate_sum(self): class CallableWithKeywordArgument (line 329) | class CallableWithKeywordArgument: method __call__ (line 332) | def __call__(self, **kwargs): method print_msg (line 336) | def print_msg(self, msg): class ClassWithDocstring (line 343) | class ClassWithDocstring: method __init__ (line 349) | def __init__(self, message='Hello!'): method print_msg (line 359) | def print_msg(self, msg=None): class ClassWithMultilineDocstring (line 366) | class ClassWithMultilineDocstring: method example_generator (line 374) | def example_generator(n): function simple_set (line 394) | def simple_set(): function simple_frozenset (line 398) | def simple_frozenset(): class Subdict (line 402) | class Subdict(dict): class Color (line 410) | class Color(enum.Enum): class HasStaticAndClassMethods (line 416) | class HasStaticAndClassMethods: method __init__ (line 421) | def __init__(self, instance_state): method static_fn (line 425) | def static_fn(args): method class_fn (line 429) | def class_fn(cls, args): function function_with_varargs (line 433) | def function_with_varargs(arg1, arg2, arg3=1, *varargs): # pylint: disa... function function_with_keyword_arguments (line 448) | def function_with_keyword_arguments(arg1, arg2=3, **kwargs): function fn_with_code_in_docstring (line 453) | def fn_with_code_in_docstring(): class BinaryCanvas (line 470) | class BinaryCanvas: method __init__ (line 473) | def __init__(self, size=10): method __str__ (line 479) | def __str__(self): method show (line 483) | def show(self): method move (line 487) | def move(self, row, col): method on (line 492) | def on(self): method off (line 495) | def off(self): method set (line 498) | def set(self, value): class DefaultMethod (line 503) | class DefaultMethod: method double (line 505) | def double(self, number): method __getattr__ (line 508) | def __getattr__(self, name): class InvalidProperty (line 514) | class InvalidProperty: method double (line 516) | def double(self, number): method prop (line 520) | def prop(self): function simple_decorator (line 524) | def simple_decorator(f): function decorated_method (line 532) | def decorated_method(name='World'): function fn_with_kwarg (line 537) | def fn_with_kwarg(arg1, arg2, **kwargs): function fn_with_kwarg_and_defaults (line 548) | def fn_with_kwarg_and_defaults(arg1, arg2, opt=True, **kwargs): function fn_with_multiple_defaults (line 559) | def fn_with_multiple_defaults(first='first', last='last', late='late'): FILE: fire/test_components_bin.py function main (line 24) | def main(): FILE: fire/test_components_py3.py function identity (line 23) | def identity(arg1, arg2: int, arg3=10, arg4: int = 20, *arg5, class HelpTextComponent (line 28) | class HelpTextComponent: method identity (line 30) | def identity(self, *, alpha, beta='0'): class KeywordOnly (line 34) | class KeywordOnly: method double (line 36) | def double(self, *, count): method triple (line 39) | def triple(self, *, count): method with_default (line 42) | def with_default(self, *, x="x"): class LruCacheDecoratedMethod (line 46) | class LruCacheDecoratedMethod: method lru_cache_in_class (line 49) | def lru_cache_in_class(self, arg1): function lru_cache_decorated (line 54) | def lru_cache_decorated(arg1): class WithAsyncio (line 58) | class WithAsyncio: method double (line 60) | async def double(self, count=0): class WithTypes (line 64) | class WithTypes: method double (line 67) | def double(self, count: float) -> float: method long_type (line 78) | def long_type( class WithDefaultsAndTypes (line 86) | class WithDefaultsAndTypes: method double (line 89) | def double(self, count: float = 0) -> float: method get_int (line 100) | def get_int(self, value: int = None): FILE: fire/test_components_test.py class TestComponentsTest (line 21) | class TestComponentsTest(testutils.BaseTestCase): method testTestComponents (line 24) | def testTestComponents(self): method testNonComparable (line 28) | def testNonComparable(self): FILE: fire/testutils.py class BaseTestCase (line 29) | class BaseTestCase(unittest.TestCase): method assertOutputMatches (line 33) | def assertOutputMatches(self, stdout='.*', stderr='.*', capture=True): method assertRaisesFireExit (line 71) | def assertRaisesFireExit(self, code, regexp='.*'): function ChangeDirectory (line 97) | def ChangeDirectory(directory): FILE: fire/testutils_test.py class TestTestUtils (line 22) | class TestTestUtils(testutils.BaseTestCase): method testNoCheckOnException (line 25) | def testNoCheckOnException(self): method testCheckStdoutOrStderrNone (line 30) | def testCheckStdoutOrStderrNone(self): method testCorrectOrderingOfAssertRaises (line 44) | def testCorrectOrderingOfAssertRaises(self): FILE: fire/trace.py class FireTrace (line 41) | class FireTrace: method __init__ (line 49) | def __init__(self, initial_component, name=None, separator='-', verbos... method GetResult (line 63) | def GetResult(self): method GetLastHealthyElement (line 67) | def GetLastHealthyElement(self): method HasError (line 80) | def HasError(self): method AddAccessedProperty (line 84) | def AddAccessedProperty(self, component, target, args, filename, lineno): method AddCalledComponent (line 95) | def AddCalledComponent(self, component, target, args, filename, lineno, method AddCompletionScript (line 121) | def AddCompletionScript(self, script): method AddInteractiveMode (line 128) | def AddInteractiveMode(self): method AddError (line 132) | def AddError(self, error, args): method AddSeparator (line 136) | def AddSeparator(self): method _Quote (line 160) | def _Quote(self, arg): method GetCommand (line 166) | def GetCommand(self, include_separators=True): method NeedsSeparator (line 192) | def NeedsSeparator(self): method __str__ (line 210) | def __str__(self): method NeedsSeparatingHyphenHyphen (line 217) | def NeedsSeparatingHyphenHyphen(self, flag='help'): class FireTraceElement (line 239) | class FireTraceElement: method __init__ (line 246) | def __init__(self, method HasError (line 277) | def HasError(self): method HasCapacity (line 280) | def HasCapacity(self): method HasSeparator (line 283) | def HasSeparator(self): method AddSeparator (line 286) | def AddSeparator(self): method ErrorAsStr (line 289) | def ErrorAsStr(self): method __str__ (line 292) | def __str__(self): FILE: fire/trace_test.py class FireTraceTest (line 21) | class FireTraceTest(testutils.BaseTestCase): method testFireTraceInitialization (line 23) | def testFireTraceInitialization(self): method testFireTraceGetResult (line 28) | def testFireTraceGetResult(self): method testFireTraceHasError (line 34) | def testFireTraceHasError(self): method testAddAccessedProperty (line 42) | def testAddAccessedProperty(self): method testAddCalledCallable (line 50) | def testAddCalledCallable(self): method testAddCalledRoutine (line 59) | def testAddCalledRoutine(self): method testAddInstantiatedClass (line 68) | def testAddInstantiatedClass(self): method testAddCompletionScript (line 78) | def testAddCompletionScript(self): method testAddInteractiveMode (line 85) | def testAddInteractiveMode(self): method testGetCommand (line 92) | def testGetCommand(self): method testGetCommandWithQuotes (line 99) | def testGetCommandWithQuotes(self): method testGetCommandWithFlagQuotes (line 106) | def testGetCommandWithFlagQuotes(self): class FireTraceElementTest (line 114) | class FireTraceElementTest(testutils.BaseTestCase): method testFireTraceElementHasError (line 116) | def testFireTraceElementHasError(self): method testFireTraceElementAsStringNoMetadata (line 123) | def testFireTraceElementAsStringNoMetadata(self): method testFireTraceElementAsStringWithTarget (line 130) | def testFireTraceElementAsStringWithTarget(self): method testFireTraceElementAsStringWithTargetAndLineNo (line 138) | def testFireTraceElementAsStringWithTargetAndLineNo(self): FILE: fire/value_types.py function IsGroup (line 26) | def IsGroup(component): function IsCommand (line 31) | def IsCommand(component): function IsValue (line 35) | def IsValue(component): function IsSimpleGroup (line 39) | def IsSimpleGroup(component): function HasCustomStr (line 58) | def HasCustomStr(component):