From b06e9df211cf9e90c45c3666146b1fe3149d6b1f Mon Sep 17 00:00:00 2001 From: Andres Hernandez Date: Mon, 11 Jan 2021 13:21:33 -0600 Subject: [PATCH] all sayulita needs --- agave/blueprints/rest_api.py | 2 ++ agave/version.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/agave/blueprints/rest_api.py b/agave/blueprints/rest_api.py index 04331b57..4a7880ab 100644 --- a/agave/blueprints/rest_api.py +++ b/agave/blueprints/rest_api.py @@ -188,6 +188,8 @@ def query(): next_page = } """ + if hasattr(cls, 'query'): + return cls.query() # pragma: no cover params = self.current_request.query_params or dict() try: query_params = cls.query_validator(**params) diff --git a/agave/version.py b/agave/version.py index f6dadc5d..9bf3af6c 100644 --- a/agave/version.py +++ b/agave/version.py @@ -1 +1 @@ -__version__ = '0.0.7.dev0' +__version__ = '0.0.7.dev4'