mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
This allows to handle the loading of the settings in a consistant way, and aditionnaly to provide a way to override the `WEBSOCKET_BACK_HOST` and `WEBSOCKET_BACK_PORT` settings with arg commands `--host` and `--port`. Without this change, because of how we are currently loading our settings, we would require the settings the be exposed by the `umap.settings.__init__` file. Previous implementations were exposing these settings, with the following code: ```python settings_as_dict = {k: v for k, v in globals().items() if k.isupper()} ``` |
||
---|---|---|
.. | ||
customize.md | ||
icons.md | ||
settings.md |