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

Method missing_type

mypy/inspections.py:461–468  ·  view source on GitHub ↗
(self, expression: Expression)

Source from the content-addressed store, hash-verified

459 return self.add_prefixes(", ".join(result), expression), True
460
461 def missing_type(self, expression: Expression) -> str:
462 alt_suggestion = ""
463 if not self.force_reload:
464 alt_suggestion = " or try --force-reload"
465 return (
466 f'No known type available for "{type(expression).__name__}"'
467 f" (maybe unreachable{alt_suggestion})"
468 )
469
470 def missing_node(self, expression: Expression) -> str:
471 return (

Callers 2

expr_typeMethod · 0.95
expr_attrsMethod · 0.95

Calls 1

typeClass · 0.85

Tested by

no test coverage detected