-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
Both AppEngine Standard python 2.7 and local dev_appserver (Google Cloud SDK 292.0.0)
python-ndb==1.2.1
Steps to reproduce
- Create a query where you specify
order_by. In my case:Query(kind='BaseTaskTemplate', filters=OR(FilterNode('ownerGroup', '=', u'E2E'), FilterNode('isPublic', '=', True)), order_by=[PropertyOrder(name='namespace', reverse=False), PropertyOrder(name='name', reverse=False)]) - observe
.fetch()works as expected .count()fails withValueError('Value protobuf did not have any value set',)- If you remove
order_byfrom query, the count works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.