We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51c6e18 commit 787e904Copy full SHA for 787e904
packages/google-cloud-ndb/google/cloud/ndb/model.py
@@ -644,7 +644,9 @@ def new_entity(key):
644
while len(subvalue) > len(value):
645
# Need to make some more subentities
646
if structprop._model_class is None:
647
- raise TypeError("structprop._model_class cannot be None")
+ raise TypeError(
648
+ "structprop._model_class cannot be None"
649
+ )
650
expando_kind = structprop._model_class._get_kind()
651
expando_key = key_module.Key(expando_kind, None)
652
value.append(new_entity(expando_key._key))
0 commit comments