def find_by_id(id): entity = Datastore.find_by_id(KIND, id) return Datastore.entity_to_dict(entity)
def find_by_government_no(government, no): id = _define_id(government, no) entity = Datastore.find_by_id(KIND, id) return Datastore.entity_to_dict(entity)
def find_by_no(no): id = _define_id(no) entity = Datastore.find_by_id(KIND, id) return Datastore.entity_to_dict(entity)