Skip to content

Commit 7784994

Browse files
authored
fix: case insensitive (#568)
* fix: case insensitive * feat: update lib version
1 parent 1888087 commit 7784994

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cumulus_lambda_functions/lib/uds_db/uds_collections.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ def get_collections(self, collection_regex: list):
107107
'query': {
108108
'bool': {
109109
'should': [
110-
{'regexp': {DBConstants.collection_id: k}} for k in collection_regex
110+
{'regexp': {DBConstants.collection_id: {
111+
'value': k,
112+
'case_insensitive': True
113+
}}} for k in collection_regex
111114
]
112115
}
113116
},

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jsonschema==4.23.0
1515
jsonschema-specifications==2023.12.1
1616
lark==0.12.0
1717
mangum==0.18.0
18-
mdps-ds-lib==1.1.1.dev700
18+
mdps-ds-lib==1.1.1.dev701
1919
pydantic==2.9.2
2020
pydantic_core==2.23.4
2121
pygeofilter==0.2.4

0 commit comments

Comments
 (0)