From 19866a880c4c1fbace0056e8058c8dfe458c57b9 Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Tue, 10 Sep 2024 15:40:21 +0200 Subject: [PATCH] fix settings (#1936) --- config/settings/base.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/settings/base.py b/config/settings/base.py index 059ac327..f70ab9c5 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -580,6 +580,12 @@ def set_logging(level=None): # General API settings +# NOTE: All except SODAR_API_DEFAULT_HOST are deprecated +# TODO: Remove after upgrading to SODAR Core v1.0.3 +# (see bihealth/sodar-core#1495) +SODAR_API_DEFAULT_VERSION = '1.0' +SODAR_API_ALLOWED_VERSIONS = ['1.0'] +SODAR_API_MEDIA_TYPE = 'application/vnd.bihealth.sodar+json' SODAR_API_DEFAULT_HOST = env.url( 'SODAR_API_DEFAULT_HOST', 'http://127.0.0.1:8000' )