Skip to content

Commit 3fc21ed

Browse files
author
Ian Sigmon
authored
Add ontology filters to QueryFilter.Types (#45)
1 parent 88fbf3d commit 3fc21ed

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGE.txt

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
LabKey Python Client API News
33
+++++++++++
44

5+
What's New in the LabKey 2.1.0 package
6+
==============================
7+
8+
*Release date: TBD*
9+
Adding support for ontology based column filters ONTOLOGY_IN_SUBTREE and ONTOLOGY_NOT_IN_SUBTREE
10+
511
What's New in the LabKey 2.0.1 package
612
==============================
713

labkey/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
from labkey import domain, query, experiment, security, utils
1717

1818
__title__ = "labkey"
19-
__version__ = "2.0.1"
19+
__version__ = "2.1.0"
2020
__author__ = "LabKey"
2121
__license__ = "Apache License 2.0"

labkey/query.py

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ class Types:
130130
IS_BLANK = "isblank"
131131
IS_NOT_BLANK = "isnonblank"
132132

133+
ONTOLOGY_IN_SUBTREE = "concept:insubtree"
134+
ONTOLOGY_NOT_IN_SUBTREE = "concept:notinsubtree"
135+
133136
MEMBER_OF = "memberof"
134137

135138
def __init__(self, column, value, filter_type=Types.EQUAL):

0 commit comments

Comments
 (0)