The scalable approach is aggressive decoupling. The API endpoint should do three things only: validate the request (thank you, Pydantic), enqueue a job into a message broker like RabbitMQ or Redis, ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果