Hi,
Using google-cloud-ndb==0.2.0
I have the following classes:
class Base(PolyModel):
status = StringProperty()
...
class Child(Base):
filter_prop = StringProperty()
projected_prop = StringProperty()
The following query throws an exception (a work around I tried for the second issue):
list(Base.query().fetch(projection=["class"]))
The Exception:
File "<env>/site-packages/google/cloud/ndb/model.py", line 4721, in _lookup_model
).format(kind)
google.cloud.ndb.model.KindError: No model class found for the kind 'd'. Did you forget to import it?
Would love to hear of any solution I could use for the meantime (other than removing projection...)
Thanks!
Hi,
Using google-cloud-ndb==0.2.0
I have the following classes:
The following query throws an exception (a work around I tried for the second issue):
The Exception:
Would love to hear of any solution I could use for the meantime (other than removing projection...)
Thanks!