MCPcopy Index your code
hub / github.com/python/mypy / do_inspect

Function do_inspect

mypy/dmypy/client.py:528–543  ·  view source on GitHub ↗

Ask daemon to print the type of an expression.

(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

526
527@action(inspect_parser)
528def do_inspect(args: argparse.Namespace) -> None:
529 """Ask daemon to print the type of an expression."""
530 response = request(
531 args.status_file,
532 "inspect",
533 show=args.show,
534 location=args.location,
535 verbosity=args.verbose,
536 limit=args.limit,
537 include_span=args.include_span,
538 include_kind=args.include_kind,
539 include_object_attrs=args.include_object_attrs,
540 union_attrs=args.union_attrs,
541 force_reload=args.force_reload,
542 )
543 check_output(response, verbose=False, junit_xml=None, perf_stats_file=None)
544
545
546def check_output(

Callers

nothing calls this directly

Calls 2

requestFunction · 0.85
check_outputFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…