main
check_settings()
¶
Check and register the settings
Verify the consistency of the settings, in particular that required variables are set.
| RAISES | DESCRIPTION |
|---|---|
ValidationError
|
If the configuration is invalid. |
Source code in fractal_server/main.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | |
collect_routers(app)
¶
Register the routers to the application
| PARAMETER | DESCRIPTION |
|---|---|
app
|
The application to register the routers to.
TYPE:
|
Source code in fractal_server/main.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |
start_application()
¶
Create the application, initialise it and collect all available routers.
| RETURNS | DESCRIPTION |
|---|---|
app
|
The fully initialised application.
TYPE:
|
Source code in fractal_server/main.py
133 134 135 136 137 138 139 140 141 142 143 | |