Hi!
I have a model with a different "kind" than the class name, like:
class TripDS(ndb.Model):
@classmethod
def _get_kind(cls):
return "Trip"
When I query `TripDS`, with a complex query, I get an error saying I need an index.
If I deploy and wait for the index to be built like this:
```
- kind: Trip
properties:
- name: firstProperty
- name: secondProperty
```
The index is built, but still the application throws an error whenever I try the complex query. If I deploy it with the kind `TripDS` then it works correctly.
I'm not sure this is expected behavior, as the name of the entity kind in the datastore is `Trip` not `TripDS`. And also, if I inspect the index, I see the `Trip` index has a size>0, and the `TripDS` index has a size=0.
What I suspect is happening is that the index is really built when I deploy with kind `Trip`, but then the error still is thrown because appengine is trying to find an index with the name of the model class instea of the model type.
Am I right? Is this a bug?