Ask the daemon for a suggested signature. This just prints whatever the daemon reports as output. For now it may be closer to a list of call sites.
(args: argparse.Namespace)
| 504 | |
| 505 | @action(suggest_parser) |
| 506 | def do_suggest(args: argparse.Namespace) -> None: |
| 507 | """Ask the daemon for a suggested signature. |
| 508 | |
| 509 | This just prints whatever the daemon reports as output. |
| 510 | For now it may be closer to a list of call sites. |
| 511 | """ |
| 512 | response = request( |
| 513 | args.status_file, |
| 514 | "suggest", |
| 515 | function=args.function, |
| 516 | json=args.json, |
| 517 | callsites=args.callsites, |
| 518 | no_errors=args.no_errors, |
| 519 | no_any=args.no_any, |
| 520 | flex_any=args.flex_any, |
| 521 | use_fixme=args.use_fixme, |
| 522 | max_guesses=args.max_guesses, |
| 523 | ) |
| 524 | check_output(response, verbose=False, junit_xml=None, perf_stats_file=None) |
| 525 | |
| 526 | |
| 527 | @action(inspect_parser) |
nothing calls this directly
no test coverage detected
searching dependent graphs…