Skip to content

Commit

Permalink
add TODOs for additional operators that need to be implemented #260
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Dec 20, 2021
1 parent 82ae018 commit f91a4ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datagateway_api/src/datagateway_api/icat/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f91a4ef

Please sign in to comment.