Get the default local server config shared across the server.
()
| 424 | |
| 425 | |
| 426 | def get_global_config() -> AppServerConfig: |
| 427 | """Get the default local server config shared across the server.""" |
| 428 | global _global_config |
| 429 | if _global_config is None: |
| 430 | # Load configuration from environment... |
| 431 | _global_config = config_from_env() |
| 432 | |
| 433 | return _global_config # type: ignore |
| 434 | |
| 435 | |
| 436 | def get_event_service( |
no test coverage detected