def ch_get_view(ch: Channel): return jsonify({ "msg": f"channel {ch.name} retrieved", "channel": ch.safe_json() }), 200