Main
| FUNCTION | DESCRIPTION |
|---|---|
check_settings |
Check and register the settings |
collect_routers |
Register the routers to the application |
start_application |
Create the application, initialise it and collect all available routers. |
Attributes¶
Classes¶
Functions:¶
check_settings(logger_name)
¶
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
collect_routers(app)
¶
Register the routers to the application
| PARAMETER | DESCRIPTION |
|---|---|
|
The application to register the routers to.
TYPE:
|
Source code in fractal_server/main.py
start_application()
¶
Create the application, initialise it and collect all available routers.
| RETURNS | DESCRIPTION |
|---|---|
app
|
The fully initialised application.
TYPE:
|