From f8f47463f8f2967c745200fe12ba1cdd0edd5284 Mon Sep 17 00:00:00 2001 From: Matthias Schaub Date: Wed, 11 Oct 2023 11:30:09 +0200 Subject: [PATCH] config: remove unused vars (data store) --- sketch_map_tool/config.py | 2 -- tests/unit/test_config.py | 1 - 2 files changed, 3 deletions(-) diff --git a/sketch_map_tool/config.py b/sketch_map_tool/config.py index 97247a41..543ba14e 100644 --- a/sketch_map_tool/config.py +++ b/sketch_map_tool/config.py @@ -24,7 +24,6 @@ def load_config_default() -> Dict[str, str]: "user-agent": "sketch-map-tool", "broker-url": "redis://localhost:6379", "result-backend": "db+postgresql://smt:smt@localhost:5432", - "data-store": "redis://localhost:6379", "wms-url": "https://maps.heigit.org/osm-carto/service?SERVICE=WMS&VERSION=1.1.1", "wms-layers": "heigit:osm-carto@2xx", "wms-read-timeout": 600, @@ -48,7 +47,6 @@ def load_config_from_env() -> Dict[str, str]: "user-agent": os.getenv("SMT-USER-AGENT"), "broker-url": os.getenv("SMT-BROKER-URL"), "result-backend": os.getenv("SMT-RESULT-BACKEND"), - "data-store": os.getenv("SMT-DATA-STORE"), "wms-url": os.getenv("SMT-WMS-URL"), "wms-layers": os.getenv("SMT-WMS-LAYERS"), "wms-read-timeout": os.getenv("SMT-WMS-READ-TIMEOUT"), diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py index d096a105..793e7710 100644 --- a/tests/unit/test_config.py +++ b/tests/unit/test_config.py @@ -23,7 +23,6 @@ def config_keys(): "user-agent", "broker-url", "result-backend", - "data-store", "wms-url", "wms-layers", "wms-read-timeout",