GAE: Why are subclasses NOT instances of db.Model (parent)?
- by bryanallott
Given:
class A:
pass
class B(A):
pass
isinstance(B(), A) will return True.
BUT
class MyModel(db.Model):
pass
isinstance(MyModel(), db.Model) returns False(surely True?).
What am I missing?