import flask

from api.controllers.notifications import notify_all
from api.serializers.request import notification_request
from api.serializers.response import notification_response

main_blueprint = flask.Blueprint('api', __name__)


@main_blueprint.route("/notify", methods=["POST"])
def notify():
    notification_data = notification_request.load(flask.request.json).data
    notification_report = notify_all(notification_data)
    result = notification_response.dump(notification_report).data
    return flask.jsonify(result)

27a6e6caf5a9dc118418ea933772f36095782459
<mask token>

<mask token>


@main_blueprint.route('/notify', methods=['POST'])
def notify():
    notification_data = notification_request.load(flask.request.json).data
    notification_report = notify_all(notification_data)
    result = notification_response.dump(notification_report).data
    return flask.jsonify(result)

<mask token>
main_blueprint = flask.Blueprint('api', __name__)


@main_blueprint.route('/notify', methods=['POST'])
def notify():
    notification_data = notification_request.load(flask.request.json).data
    notification_report = notify_all(notification_data)
    result = notification_response.dump(notification_report).data
    return flask.jsonify(result)

import flask
from api.controllers.notifications import notify_all
from api.serializers.request import notification_request
from api.serializers.response import notification_response
main_blueprint = flask.Blueprint('api', __name__)


@main_blueprint.route('/notify', methods=['POST'])
def notify():
    notification_data = notification_request.load(flask.request.json).data
    notification_report = notify_all(notification_data)
    result = notification_response.dump(notification_report).data
    return flask.jsonify(result)

import flask

from api.controllers.notifications import notify_all
from api.serializers.request import notification_request
from api.serializers.response import notification_response

main_blueprint = flask.Blueprint('api', __name__)


@main_blueprint.route("/notify", methods=["POST"])
def notify():
    notification_data = notification_request.load(flask.request.json).data
    notification_report = notify_all(notification_data)
    result = notification_response.dump(notification_report).data
    return flask.jsonify(result)
