def get_entity_dict(entities):
    if isinstance(entities, db.Model):
        return _get_entity_dict(entities)

    return [_get_entity_dict(e) for e in entities]
Returns a dictionary with all the properties and values in an entity.
dataset/ETHPy150Open moraes/tipfy/tipfy/appengine/db/__init__.py/get_entity_dict