unique_toolkit 2026.30.0.dev8__py3-none-any.whl → 2026.30.0.dev9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- unique_toolkit/content/smart_rules.py +8 -1
- {unique_toolkit-2026.30.0.dev8.dist-info → unique_toolkit-2026.30.0.dev9.dist-info}/METADATA +2 -2
- {unique_toolkit-2026.30.0.dev8.dist-info → unique_toolkit-2026.30.0.dev9.dist-info}/RECORD +4 -4
- {unique_toolkit-2026.30.0.dev8.dist-info → unique_toolkit-2026.30.0.dev9.dist-info}/WHEEL +0 -0
|
@@ -19,6 +19,8 @@ class Operator(str, Enum):
|
|
|
19
19
|
LESS_THAN_OR_EQUAL = "lessThanOrEqual"
|
|
20
20
|
IN = "in"
|
|
21
21
|
NOT_IN = "notIn"
|
|
22
|
+
OVERLAPS = "overlaps"
|
|
23
|
+
NOT_OVERLAPS = "notOverlaps"
|
|
22
24
|
CONTAINS = "contains"
|
|
23
25
|
NOT_CONTAINS = "notContains"
|
|
24
26
|
IS_NULL = "isNull"
|
|
@@ -148,7 +150,12 @@ def eval_operator(
|
|
|
148
150
|
return empty_operator(query.operator, user_metadata, tool_parameters)
|
|
149
151
|
elif query.operator == Operator.NESTED:
|
|
150
152
|
return eval_nested_operator(query.value, user_metadata, tool_parameters)
|
|
151
|
-
elif query.operator in [
|
|
153
|
+
elif query.operator in [
|
|
154
|
+
Operator.IN,
|
|
155
|
+
Operator.NOT_IN,
|
|
156
|
+
Operator.OVERLAPS,
|
|
157
|
+
Operator.NOT_OVERLAPS,
|
|
158
|
+
]:
|
|
152
159
|
return array_operator(query.value, user_metadata, tool_parameters)
|
|
153
160
|
else:
|
|
154
161
|
raise ValueError(f"Operator {query.operator} not supported")
|
{unique_toolkit-2026.30.0.dev8.dist-info → unique_toolkit-2026.30.0.dev9.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.30.0.
|
|
3
|
+
Version: 2026.30.0.dev9
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Cedric Klinkert, Martin Fadler, Sadique Sheik, Fabian Schläpfer, Pascal Hauri, Ejiroghene Oki-Peter, Rami Azouz, Ricardo Visini, Sanzio Monti
|
|
6
6
|
Author-email: Cedric Klinkert <cedric.klinkert@unique.ch>, Martin Fadler <martin.fadler@unique.ch>, Sadique Sheik <sadique@unique.ch>, Fabian Schläpfer <fabian@unique.ch>, Pascal Hauri <pascal@unique.ch>, Ejiroghene Oki-Peter <oki-peter.ejiroghene@unique.ai>, Rami Azouz <rami.ext@unique.ch>, Ricardo Visini <ricardo.visini@unique.ch>, Sanzio Monti <sanzio.monti@unique.ai>
|
|
@@ -16,7 +16,7 @@ Requires-Dist: sseclient>=0.0.27,<0.0.28
|
|
|
16
16
|
Requires-Dist: openai>=1.105.0,<3
|
|
17
17
|
Requires-Dist: platformdirs>=4.0.0,<5
|
|
18
18
|
Requires-Dist: pillow>=12.1.1
|
|
19
|
-
Requires-Dist: unique-sdk>=2026.30.0.
|
|
19
|
+
Requires-Dist: unique-sdk>=2026.30.0.dev2,<2026.30.0rc0
|
|
20
20
|
Requires-Dist: jambo>=0.1.2,<0.2
|
|
21
21
|
Requires-Dist: jinja2>=3.1.6,<4
|
|
22
22
|
Requires-Dist: docxtpl>=0.20.1,<0.21
|
|
@@ -260,7 +260,7 @@ unique_toolkit/content/constants.py,sha256=1iy4Y67xobl5VTnJB6SxSyuoBWbdLl9244xfV
|
|
|
260
260
|
unique_toolkit/content/functions.py,sha256=avnlEQ1FkVz2NTbXUkafU04jzygqOJtUMQL605rEL4c,34019
|
|
261
261
|
unique_toolkit/content/schemas.py,sha256=AmnlqMpA_JgbgsaZF6Xdy8kt9lcY0YCqlfqpG1tYWeE,11306
|
|
262
262
|
unique_toolkit/content/service.py,sha256=S_sFtG1hJd-zz7XyP-6Gu-B8_Xx-r5v46qZLWdRRyRs,29477
|
|
263
|
-
unique_toolkit/content/smart_rules.py,sha256
|
|
263
|
+
unique_toolkit/content/smart_rules.py,sha256=-bRlF_e66yKA8KsXTPYqfhHZu1jsXXl5akIZnSgu5X8,11621
|
|
264
264
|
unique_toolkit/content/utils.py,sha256=keDkqu_ZzQY0y_g7g_XLOza3p4XsvfqVVDI9ylM91KY,10115
|
|
265
265
|
unique_toolkit/data_extraction/README.md,sha256=5KxzqPHC29wxBiWJ-87wBQisSgRBkuSnPTb38pGH1wA,3138
|
|
266
266
|
unique_toolkit/data_extraction/__init__.py,sha256=y6uSp8PAqgPZMoBgXWp1Ep0gsk9MD-NV8qn2QpOY-xY,330
|
|
@@ -406,6 +406,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
|
|
|
406
406
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
407
407
|
unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
|
|
408
408
|
unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
|
|
409
|
-
unique_toolkit-2026.30.0.
|
|
410
|
-
unique_toolkit-2026.30.0.
|
|
411
|
-
unique_toolkit-2026.30.0.
|
|
409
|
+
unique_toolkit-2026.30.0.dev9.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
410
|
+
unique_toolkit-2026.30.0.dev9.dist-info/METADATA,sha256=uiBB4yGaDGzeuETwGsKxFx1tSatqpygBsG1j8AABOsY,7459
|
|
411
|
+
unique_toolkit-2026.30.0.dev9.dist-info/RECORD,,
|
|
File without changes
|