def get_stats(): santa_dao = SantaDAO(postgresql) stats = santa_dao.get_stats() return jsonify(stats), 200