NDB Team--
It appears something happened today as I had some code break, in
particular it's this line:
program_dict["provider_key"] = program.provider.urlsafe()
program.provider is a KeyProperty()
is yielding:
UnprojectedPropertyError: Property provider is not in the projection
I'm iterating through the results of a Future:
nationwide_programs = nationwide_programs_future.get_result()
I'm completely puzzled. Did something change I should be looking at?
If so, should I be taking a different approach?
Property provider is not in the projection
Traceback (most recent call last):
File
"/base/data/home/apps/s~searchbertha-hrd/81.359741171174247232/models.py",
line 2093, in get_programs
nationwide_programs_dict_list, categories =
summarize_programs(nationwide_programs, categories, sub_categories,
nationwide_searchable_index, indexed)
File
"/base/data/home/apps/s~searchbertha-hrd/81.359741171174247232/models.py",
line 1975, in summarize_programs
program.provider_key = program_dict["provider_key"] =
program.provider.urlsafe()
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/ndb/model.py",
line 1238, in __get__
return self._get_value(entity)
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/ndb/model.py",
line 1213, in _get_value
'Property %s is not in the projection' % (self._name,))
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.