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

Function get_max_prio

mypyc/annotate.py:429–431  ·  view source on GitHub ↗
(anns: list[Annotation])

Source from the content-addressed store, hash-verified

427
428
429def get_max_prio(anns: list[Annotation]) -> list[Annotation]:
430 max_prio = max(a.priority for a in anns)
431 return [a for a in anns if a.priority == max_prio]
432
433
434def generate_html_report(sources: list[AnnotatedSource]) -> str:

Callers 2

run_caseMethod · 0.90
generate_html_reportFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by 1

run_caseMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…