people.py — fastapi Source File
Architecture documentation for people.py, a python file in the fastapi codebase. 14 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 4dbe490d_c30b_6033_480a_ba29c94d075d["people.py"] a4a63925_76bf_e8a8_bef2_cb86d161a300["logging"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> a4a63925_76bf_e8a8_bef2_cb86d161a300 05832956_b384_ff7e_ef60_abebb23f9723["secrets"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 05832956_b384_ff7e_ef60_abebb23f9723 c16959b6_d471_41f8_1c0e_2c4fe324727a["subprocess"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> c16959b6_d471_41f8_1c0e_2c4fe324727a 1f0e807e_8e8f_35d7_c6d0_300886df5c17["time"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 1f0e807e_8e8f_35d7_c6d0_300886df5c17 36df6c22_bdda_c58d_8489_1b2bca07e51a["collections"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 36df6c22_bdda_c58d_8489_1b2bca07e51a 07d79a2e_d4e9_0bbb_be90_936274444c8c["collections.abc"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 07d79a2e_d4e9_0bbb_be90_936274444c8c e973e384_8276_b242_eb98_1c0b79a84e68["datetime"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> e973e384_8276_b242_eb98_1c0b79a84e68 b3e303a2_3f2d_638d_930c_3a5dcc2f5a42["pathlib"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> b3e303a2_3f2d_638d_930c_3a5dcc2f5a42 0dda2280_3359_8460_301c_e98c77e78185["typing"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 0dda2280_3359_8460_301c_e98c77e78185 d7bf38e8_5abd_e43f_3d05_a07033f7302e["httpx"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> d7bf38e8_5abd_e43f_3d05_a07033f7302e 67785272_06f8_d6cb_1f4a_abf8bc11d004["yaml"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 67785272_06f8_d6cb_1f4a_abf8bc11d004 319484c7_306f_9ec1_3de4_788004953d77["github"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 319484c7_306f_9ec1_3de4_788004953d77 6913fbd4_39df_d14b_44bb_522e99b65b90["pydantic"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> 6913fbd4_39df_d14b_44bb_522e99b65b90 d2280984_30d0_0ee6_97ed_95cfcc358f18["pydantic_settings"] 4dbe490d_c30b_6033_480a_ba29c94d075d --> d2280984_30d0_0ee6_97ed_95cfcc358f18 style 4dbe490d_c30b_6033_480a_ba29c94d075d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import logging
import secrets
import subprocess
import time
from collections import Counter
from collections.abc import Container
from datetime import datetime, timedelta, timezone
from pathlib import Path
from typing import Any, Union
import httpx
import yaml
from github import Github
from pydantic import BaseModel, SecretStr
from pydantic_settings import BaseSettings
github_graphql_url = "https://api.github.com/graphql"
questions_category_id = "MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyMDAxNDM0"
discussions_query = """
query Q($after: String, $category_id: ID) {
repository(name: "fastapi", owner: "fastapi") {
discussions(first: 100, after: $after, categoryId: $category_id) {
edges {
cursor
node {
number
author {
login
avatarUrl
url
}
createdAt
comments(first: 50) {
totalCount
nodes {
createdAt
author {
login
avatarUrl
url
}
isAnswer
replies(first: 10) {
totalCount
nodes {
createdAt
author {
login
avatarUrl
url
}
}
}
}
}
}
}
}
}
// ... (345 more lines)
Domain
Subdomains
Functions
Classes
Dependencies
- collections
- collections.abc
- datetime
- github
- httpx
- logging
- pathlib
- pydantic
- pydantic_settings
- secrets
- subprocess
- time
- typing
- yaml
Source
Frequently Asked Questions
What does people.py do?
people.py is a source file in the fastapi codebase, written in python. It belongs to the FastAPI domain, Routing subdomain.
What functions are defined in people.py?
people.py defines 8 function(s): get_discussion_nodes, get_discussions_experts, get_graphql_question_discussion_edges, get_graphql_response, get_top_users, get_users_to_write, main, update_content.
What does people.py depend on?
people.py imports 14 module(s): collections, collections.abc, datetime, github, httpx, logging, pathlib, pydantic, and 6 more.
Where is people.py in the architecture?
people.py is located at scripts/people.py (domain: FastAPI, subdomain: Routing, directory: scripts).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free