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

Method update_stats

mypy/dmypy_server.py:449–454  ·  view source on GitHub ↗
(self, res: dict[str, Any])

Source from the content-addressed store, hash-verified

447 self.fine_grained_manager.flush_cache()
448
449 def update_stats(self, res: dict[str, Any]) -> None:
450 if self.fine_grained_manager:
451 manager = self.fine_grained_manager.manager
452 manager.dump_stats()
453 res["stats"] = manager.stats
454 manager.stats = {}
455
456 def following_imports(self) -> bool:
457 """Are we following imports?"""

Callers 2

cmd_recheckMethod · 0.95
checkMethod · 0.95

Calls 1

dump_statsMethod · 0.80

Tested by

no test coverage detected