You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IN operator with __key__ property does not work #15339
api: datastoreIssues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Hello,
Sorry I'm not 100% if this should be a bug report or a feature request, but since the IN operator is working on the Datastore UI on the GCP Console I'm guessing it's a bug.
Environment details
I'm not allowed to share those, but I don't think it matters in this case
OS type and version:
Python version: python --version
pip version: pip --version
google-cloud-datastore version: pip show google-cloud-datastore
Steps to reproduce
Try to execute a query on the __key__ property with the IN operator
api: datastoreIssues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
parthea commentedon Jan 12, 2026
Transferring to google-cloud-python as the code for python-datastore will be migrated there in 1-3 weeks.
daniel-sanche commentedon Nov 13, 2026
This is being addressed in #19076
daniel-sanche commentedon Nov 25, 2026
Resolved in #19076, this will be released next week (week of Nov 30)
fix(datastore): support IN and NOT_IN operators on __key__ filters (g…