get_top_users() — fastapi Function Reference
Architecture documentation for the get_top_users() function in people.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD c2de6de2_c440_75d8_f76d_cc25da7c76f0["get_top_users()"] 4dbe490d_c30b_6033_480a_ba29c94d075d["people.py"] c2de6de2_c440_75d8_f76d_cc25da7c76f0 -->|defined in| 4dbe490d_c30b_6033_480a_ba29c94d075d style c2de6de2_c440_75d8_f76d_cc25da7c76f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/people.py lines 259–280
def get_top_users(
*,
counter: Counter[str],
authors: dict[str, Author],
skip_users: Container[str],
min_count: int = 2,
) -> list[dict[str, Any]]:
users: list[dict[str, Any]] = []
for commenter, count in counter.most_common(50):
if commenter in skip_users:
continue
if count >= min_count:
author = authors[commenter]
users.append(
{
"login": commenter,
"count": count,
"avatarUrl": author.avatarUrl,
"url": author.url,
}
)
return users
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does get_top_users() do?
get_top_users() is a function in the fastapi codebase, defined in scripts/people.py.
Where is get_top_users() defined?
get_top_users() is defined in scripts/people.py at line 259.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free