From f91a4ef2de10a0cb6c1397356ea325d8951bb67a Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Mon, 20 Dec 2021 17:08:12 +0000 Subject: [PATCH] add TODOs for additional operators that need to be implemented #260 --- datagateway_api/src/datagateway_api/icat/filters.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datagateway_api/src/datagateway_api/icat/filters.py b/datagateway_api/src/datagateway_api/icat/filters.py index c00aaa78..9877938a 100644 --- a/datagateway_api/src/datagateway_api/icat/filters.py +++ b/datagateway_api/src/datagateway_api/icat/filters.py @@ -43,6 +43,9 @@ def create_filter(self): :raises FilterError: If the operation provided to the instance isn't valid """ + # TODO - need to add support for the rest of search API operators + # For things like inq, think we just call this function again with the DG API + # version. This will prevent a breaking change from occurring log.info("Creating condition for ICAT where filter") if self.operation == "eq": where_filter = self.create_condition(self.field, "=", self.value)