Ejemplo n.º 1
0
def retrieve_image(image_id):
	print('Looking for something semi-specific in the rabbit hole...')
	return send_file(io.BytesIO(fetch_image(image_id)))
Ejemplo n.º 2
0
def retrieve_galler_image(gallery_id, image_id):
	print('Looking for something specific in the rabbit hole...')
	return io.BytesIO(fetch_image(gallery_id, image_id))