File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -2499,26 +2499,6 @@ def flush(self):
2499
2499
super ().flush ()
2500
2500
2501
2501
2502
- class _CommandResult :
2503
- """
2504
- A container for result objects - we use this to make TyperCommand.print_result with
2505
- minimal impact to BaseCommand.
2506
- """
2507
-
2508
- result : t .Any
2509
- print_result : bool
2510
-
2511
- def __init__ (self , result , print_result ):
2512
- self .result = result
2513
- self .print_result = print_result
2514
-
2515
- def __str__ (self ):
2516
- return str (self .result )
2517
-
2518
- def __bool__ (self ):
2519
- return self .print_result and bool (self .result )
2520
-
2521
-
2522
2502
class TyperCommand (BaseCommand , metaclass = TyperCommandMeta ):
2523
2503
"""
2524
2504
An extension of BaseCommand_ that uses the Typer_ library to parse
You can’t perform that action at this time.
0 commit comments