Skip to content

Conversation

@gadomski
Copy link
Member

Fixes a panic in the cql2 dependency. developmentseed/cql2-rs#83

Closes #135

cc @hrodmn

    async def test_cql(data: Path) -> None:
>       await rustac.search(
            str(data / "100-sentinel-2-items.parquet"),
            filter={
                "op": "and",
                "args": [
                    # eq is cql, not cql2
                    {"op": "eq", "args": [{"property": "platform"}, "made-up-platform"]},
                ],
            },
            max_items=1,
        )
E       rustac.RustacError: eq is not a valid operator.

tests/test_search.py:98: RustacError

@gadomski gadomski self-assigned this May 19, 2025
@gadomski gadomski enabled auto-merge (squash) May 19, 2025 18:49
@gadomski gadomski merged commit 05f22d5 into main May 19, 2025
6 checks passed
@gadomski gadomski deleted the update-rustac branch May 19, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

filter extension broken when installed via conda

2 participants