From bdd3ec1e963cd9419eb1ed7993b6984110d9d5b4 Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Thu, 2 May 2024 17:23:42 -0700 Subject: [PATCH 1/3] stable branch --- tests/clinical_ingest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/clinical_ingest.json b/tests/clinical_ingest.json index 517696c..628e068 100644 --- a/tests/clinical_ingest.json +++ b/tests/clinical_ingest.json @@ -1,5 +1,5 @@ { - "openapi_url": "https://raw.githubusercontent.com/CanDIG/katsu/develop/chord_metadata_service/mohpackets/docs/schema.yml", + "openapi_url": "https://raw.githubusercontent.com/CanDIG/katsu/stable/chord_metadata_service/mohpackets/docs/schema.yml", "donors": [ { "submitter_donor_id": "DONOR_1", From 5f1eb7154dadb8fc20f7c4b3dddcc25509dc6580 Mon Sep 17 00:00:00 2001 From: Marion Date: Fri, 3 May 2024 12:31:09 -0700 Subject: [PATCH 2/3] update clinical_etl --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index da31f00..eae2736 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,5 +10,5 @@ python-dotenv==0.14.0 dateparser~=1.2.0 pandas~=2.1.4 numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability -clinical_etl@git+https://github.com/CanDIG/clinical_ETL_code.git@v2.2.0 +clinical_etl@git+https://github.com/CanDIG/clinical_ETL_code.git@v2.2.1 GitPython>=3.1.42 From 22239b0b5431e1c8a623216eda981a6a330f249c Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Wed, 20 Nov 2024 16:42:31 -0800 Subject: [PATCH 3/3] somehow missed the status_code in the return --- auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.py b/auth.py index c54c12d..fe433e4 100644 --- a/auth.py +++ b/auth.py @@ -143,7 +143,7 @@ def get_program_in_opa(program_id, token): def list_programs_in_opa(token): response, status_code = authx.auth.list_programs_in_opa() if status_code == 200: - return response + return response, 200 return {"error": response}, status_code