예제 #1
0
def all_addresses():
    all_addresses = Address.all()
    result = addresses_schema.dump(all_addresses)
    return jsonify(result.data), 200