app.main#
Patient manager main file.
Attributes#
Functions#
|
Add logging for http exceptions. |
|
Add logging for fastAPI's automatic input validation exceptions. |
|
Initialize patient database. |
|
Readiness health endpoint. |
Module Contents#
- app.main.app#
- app.main.ORIGINS = ['http://localhost:8080', 'https://localhost:8443']#
- async app.main.custom_http_exception_handler(request, exc)#
Add logging for http exceptions.
https://fastapi.tiangolo.com/tutorial/handling-errors/#reuse-fastapis-exception-handlers
- async app.main.validation_exception_handler(request, exc)#
Add logging for fastAPI’s automatic input validation exceptions.
https://fastapi.tiangolo.com/tutorial/handling-errors/#reuse-fastapis-exception-handlers
- async app.main.startup() None#
Initialize patient database.