From 253c2c53d74c1cf2f9021bb35d03bc1b46a85f26 Mon Sep 17 00:00:00 2001 From: francastell Date: Fri, 12 Jul 2024 16:28:29 -0400 Subject: [PATCH 1/2] G3-259 pubmed type correction --- src/geneweaver/api/controller/publications.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/geneweaver/api/controller/publications.py b/src/geneweaver/api/controller/publications.py index 3c80ef8..1595093 100644 --- a/src/geneweaver/api/controller/publications.py +++ b/src/geneweaver/api/controller/publications.py @@ -29,15 +29,7 @@ def get_publication( pages: Optional[str] = None, month: Optional[str] = None, year: Optional[str] = None, - pubmed_id: Annotated[ - Optional[int], - Query( - format="int64", - minimum=0, - maxiumum=9223372036854775807, - description=api_message.PUBMED_ID, - ), - ] = None, + pubmed_id: Optional[str] = None, search_text: Annotated[ Optional[str], Query(description=api_message.SEARCH_TEXT) ] = None, From bcffe305b4db3526c5e4c8d5a2f3abac27dbbac4 Mon Sep 17 00:00:00 2001 From: francastell Date: Fri, 12 Jul 2024 17:09:02 -0400 Subject: [PATCH 2/2] G3-259 version update --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4bf7619..6623720 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "geneweaver-api" -version = "0.7.0a6" +version = "0.7.0a7" description = "The Geneweaver API" authors = [ "Alexander Berger ",