gchq / gchq/sleeper

Python query API needs to know when query is invalid

Open
#283 0 comments 0 reactions 0 assignees View on GitHub
python-api
Dominant language
Java
Stars
107
Forks
29
Avg merge
19h 46m
Merged PRs (30d)
141

Description

If you use the Python API to run the following query

region = {"wrongkey": ["aaaaaaa", True, "aaaaazzz", False]}
my_sleeper.range_key_query("system-test", [region])

where `wrongkey` is not a key field, then the query will hang forever polling the query results tracker. Review whether the query is tracked under this condition, and whether the Python API picks that up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.