Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
LabKey Python Client API News
+++++++++++

What's New in the LabKey 4.0.2 package
==============================

*Release date: 02/24/2026*
- Add array filter types

What's New in the LabKey 4.0.1 package
==============================

Expand Down
2 changes: 1 addition & 1 deletion labkey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
# limitations under the License.
#
__title__ = "labkey"
__version__ = "4.0.1"
__version__ = "4.0.2"
__author__ = "LabKey"
__license__ = "Apache License 2.0"
11 changes: 10 additions & 1 deletion labkey/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class Pagination:
ALL = "all"
NONE = "none"


# TODO: Provide filter generators.
#
# There are some inconsistencies between the different filter types with multiple values,
Expand Down Expand Up @@ -114,6 +113,12 @@ class Types:
CONTAINS_ONE_OF = "containsoneof"
CONTAINS_NONE_OF = "containsnoneof"

ARRAY_CONTAINS_ALL = "arraycontainsall"
ARRAY_CONTAINS_ANY = "arraycontainsany"
ARRAY_CONTAINS_NONE = "arraycontainsnone"
ARRAY_CONTAINS_EXACT = "arraymatches"
ARRAY_CONTAINS_NOT_EXACT = "arraynotmatches"

IN = "in"

EQUALS_ONE_OF = "in"
Expand All @@ -135,6 +140,10 @@ class Types:
HAS_MISSING_VALUE = "hasmvvalue"
DOES_NOT_HAVE_MISSING_VALUE = "nomvvalue"

ARRAY_ISEMPTY = "arrayisempty"
ARRAY_ISNOTEMPTY = "arrayisnotempty"


# Table/Query-wise operators
Q = "q"

Expand Down
Loading