Skip to content

Commit 8ed0d9a

Browse files
committed
1 parent a4cd184 commit 8ed0d9a

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ and start a new "In Progress" section above it.
2121

2222
## In progress
2323

24+
## 0.102.0
25+
26+
- Emit "in" operator ([Open-EO/openeo-opensearch-client#32](https://github.com/Open-EO/openeo-opensearch-client/issues/32),
27+
[Open-EO/openeo-geopyspark-driver/#776](https://github.com/Open-EO/openeo-geopyspark-driver/issues/776))
28+
2429
## 0.101.0
2530

2631
- Add simple enum `AUTHENTICATION_METHOD` for `User.internal_auth_data.get("authentication_method")` values

openeo_driver/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.101.2a1"
1+
__version__ = "0.102.0a1"

openeo_driver/filter_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def enterProcess(self, process_id: str, arguments: dict, namespace: Union[str, N
3030
f"Property filtering only supports {self.SUPPORTED_PROCESSES}, not {process_id!r}."
3131
)
3232

33-
self.result["operator"] = "eq" if process_id == "array_contains" else process_id
33+
self.result["operator"] = "in" if process_id == "array_contains" else process_id
3434

3535
def enterArgument(self, argument_id: str, value):
3636
self.result["parameter"] = value.get("from_parameter")

tests/test_filter_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ def test_array_contains():
6666
}
6767
}
6868

69-
assert extract_literal_match(pg) == {"eq": ["31UES", "31UFS"]}
69+
assert extract_literal_match(pg) == {"in": ["31UES", "31UFS"]}

0 commit comments

Comments
 (0)