Files
Aleksei Sokol afe5d882ac
All checks were successful
Run linters on applied template / Python 3.13 lint and build (push) Successful in 56s
Initial commit
This is a FastAPI backend microservice template used with `copier` utility.

Features of applied template are:
- Configuration file processing logic
- Metrics and tracing (both optional) configuration available
- Debug endpoints
- Database migration commands, prepared Alembic environment
- Database usage example in ping_db endpoint
- gitea sanity check pipeline
2025-11-29 22:13:34 +03:00

10 lines
218 B
Python

"""Ping endpoint response is defined here."""
from pydantic import BaseModel, Field
class PingResponse(BaseModel):
"""Ping response model, contains default message."""
message: str = Field(default="Pong!")