From c7f53b2e906693e107bf6e96ac7eacd0ccaf8720 Mon Sep 17 00:00:00 2001 From: EddieLF <34049565+EddieLF@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:06:57 +1100 Subject: [PATCH] Update sequencing group meta API endpoint fix + bumpversion minor (#684) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update SG meta endpoint to use PATCH, not GET * Bump version: 6.7.0 → 6.8.0 --- .bumpversion.cfg | 2 +- api/routes/sequencing_groups.py | 2 +- api/server.py | 2 +- deploy/python/version.txt | 2 +- setup.py | 2 +- web/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6331c36cc..26fed7085 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 6.7.0 +current_version = 6.8.0 commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P[A-z0-9-]+) diff --git a/api/routes/sequencing_groups.py b/api/routes/sequencing_groups.py index f3be40236..9a35ee1e4 100644 --- a/api/routes/sequencing_groups.py +++ b/api/routes/sequencing_groups.py @@ -56,7 +56,7 @@ async def get_all_sequencing_group_ids_by_sample_by_type( } -@router.get('/project/{sequencing_group_id}', operation_id='updateSequencingGroup') +@router.patch('/project/{sequencing_group_id}', operation_id='updateSequencingGroup') async def update_sequencing_group( sequencing_group_id: str, sequencing_group: SequencingGroupMetaUpdateModel, diff --git a/api/server.py b/api/server.py index 1879bec50..b5d58209b 100644 --- a/api/server.py +++ b/api/server.py @@ -19,7 +19,7 @@ from db.python.utils import get_logger # This tag is automatically updated by bump2version -_VERSION = '6.7.0' +_VERSION = '6.8.0' logger = get_logger() diff --git a/deploy/python/version.txt b/deploy/python/version.txt index f0e13c509..e029aa99b 100644 --- a/deploy/python/version.txt +++ b/deploy/python/version.txt @@ -1 +1 @@ -6.7.0 +6.8.0 diff --git a/setup.py b/setup.py index d49473b98..7e6ad5d47 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name=PKG, # This tag is automatically updated by bump2version - version='6.7.0', + version='6.8.0', description='Python API for interacting with the Sample API system', long_description=readme, long_description_content_type='text/markdown', diff --git a/web/package.json b/web/package.json index 40e260617..852999cee 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "metamist", - "version": "6.7.0", + "version": "6.8.0", "private": true, "dependencies": { "@apollo/client": "^3.7.3",