refactor: add English docstrings to all functions

This commit is contained in:
Данил 2025-02-20 21:38:11 +03:00
parent 06ca56f019
commit cabcccc0fb
4 changed files with 82 additions and 9 deletions

11
main.py
View file

@ -1,3 +1,14 @@
"""
This module defines the main FastAPI application, including route handlers,
middleware, static file serving, and error handling.
Routes:
- `/app-ads.txt`: Serves the `app-ads.txt` file.
- `/robots.txt`: Serves the `robots.txt` file.
- `/wallpaper/today`: Served by the wallpaper router, fetches today's wallpaper.
- `/wallpaper/{day}`: Served by the wallpaper router, fetches the wallpaper for a specific day.
"""
import http
import uvicorn