STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.py File Reference

Go to the source code of this file.

Namespaces

namespace  backend
namespace  backend.main

Functions

 backend.main.lifespan (FastAPI app)
str backend.main._sentence (str text)
str backend.main._one_problem (dict err)
str backend.main.validation_sentence (list errors)
JSONResponse backend.main._validation_as_sentence (Request request, RequestValidationError exc)
JSONResponse backend.main._unhandled_as_sentence (Request request, Exception exc)
 backend.main.root ()
 backend.main.health ()

Variables

 backend.main.project_root = Path(__file__).resolve().parents[1]
dict backend.main._optional_routers = {}
 backend.main.router_module = __import__(f'backend.routers.{router_name}', fromlist=[router_name])
 backend.main.allow_credentials