def update_entity_in_table(key, validated_entity, datastore):
 datastore.batch_put_entity(APP_ENTITY_TABLE, [key], APP_ENTITY_SCHEMA, validated_entity)

def update_entity_in_table ( key , validated_entity , datastore ) : datastore . batch_put_entity ( APP_ENTITY_TABLE , [ key ] , APP_ENTITY_SCHEMA , validated_entity )
updates the app_entity_table with the valid entity .