View source on GitHub |
Prepares an entity to be returned to the user.
google.appengine.datastore.datastore_stub_util.LoadEntity(
entity, keys_only=False, property_names=None
)
Args | |
---|---|
entity
|
a entity_pb2.EntityProto or None |
keys_only
|
if a keys only result should be produced |
property_names
|
if not None or empty, cause a projected entity to be produced with the given properties. |
Returns | |
---|---|
A user friendly copy of entity or None. |