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
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
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
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
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
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |