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

Method missing_named_argument

mypy/messages.py:942–945  ·  view source on GitHub ↗
(self, callee: CallableType, context: Context, name: str)

Source from the content-addressed store, hash-verified

940 self.fail(msg, context, code=codes.CALL_ARG)
941
942 def missing_named_argument(self, callee: CallableType, context: Context, name: str) -> None:
943 msg = f'Missing named argument "{name}"' + for_function(callee)
944 self.fail(msg, context, code=codes.CALL_ARG)
945 self.note_defined_here(callee, context)
946
947 def too_many_arguments(self, callee: CallableType, context: Context) -> None:
948 if self.prefer_simple_messages():

Callers 1

check_argument_countMethod · 0.80

Calls 3

failMethod · 0.95
note_defined_hereMethod · 0.95
for_functionFunction · 0.85

Tested by

no test coverage detected