From b1d6104893ecca2620be07197382099f106585b6 Mon Sep 17 00:00:00 2001 From: Gordon Krieger Date: Wed, 27 Nov 2024 17:20:38 +0000 Subject: [PATCH] rm orphaned config values --- bento_beacon/config_files/config.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bento_beacon/config_files/config.py b/bento_beacon/config_files/config.py index ac311db..be72520 100644 --- a/bento_beacon/config_files/config.py +++ b/bento_beacon/config_files/config.py @@ -1,7 +1,6 @@ import json import logging import os -import urllib3 from ..constants import GRANULARITY_COUNT, GRANULARITY_RECORD @@ -17,7 +16,6 @@ def reverse_domain_id(domain): BENTO_DEBUG = str_to_bool(os.environ.get("BENTO_DEBUG", os.environ.get("FLASK_DEBUG", "false"))) -BENTO_VALIDATE_SSL = str_to_bool(os.environ.get("BENTO_VALIDATE_SSL", str(not BENTO_DEBUG))) # silence logspam logging.getLogger("asyncio").setLevel(logging.WARNING) @@ -44,14 +42,10 @@ class Config: DEFAULT_PAGINATION_PAGE_SIZE = 10 BENTO_DEBUG = BENTO_DEBUG - BENTO_DOMAIN = os.environ.get("BENTOV2_DOMAIN") BEACON_BASE_URL = os.environ.get("BEACON_BASE_URL") BENTO_PUBLIC_URL = os.environ.get("BENTOV2_PUBLIC_URL") - - # reverse domain id BEACON_ID = reverse_domain_id(BENTO_DOMAIN) - BEACON_NAME = os.environ.get("BENTO_PUBLIC_CLIENT_NAME", "Bento") + " Beacon" BEACON_UI_ENABLED = str_to_bool(os.environ.get("BENTO_BEACON_UI_ENABLED", "")) BEACON_UI_URL = BENTO_PUBLIC_URL + "/#/en/beacon" @@ -156,9 +150,6 @@ class Config: KATSU_DATASETS_ENDPOINT = "/api/datasets" KATSU_SEARCH_ENDPOINT = "/private/search" KATSU_RESOURCES_ENDPOINT = "/api/resources" - KATSU_PHENOTYPIC_FEATURE_TERMS_ENDPOINT = "/api/phenotypic_feature_type_autocomplete" - KATSU_DISEASES_TERMS_ENDPOINT = "/api/disease_term_autocomplete" - KATSU_SAMPLED_TISSUES_TERMS_ENDPOINT = "/api/biosample_sampled_tissue_autocomplete" KATSU_PUBLIC_CONFIG_ENDPOINT = "/api/public_search_fields" KATSU_INDIVIDUAL_SCHEMA_ENDPOINT = "/api/schemas/phenopacket" KATSU_EXPERIMENT_SCHEMA_ENDPOINT = "/api/schemas/experiment"