Skip to content

Commit

Permalink
rm orphaned config values
Browse files Browse the repository at this point in the history
  • Loading branch information
gsfk committed Nov 27, 2024
1 parent 2c3fb34 commit b1d6104
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bento_beacon/config_files/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json
import logging
import os
import urllib3
from ..constants import GRANULARITY_COUNT, GRANULARITY_RECORD


Expand All @@ -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)
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit b1d6104

Please sign in to comment.