def _process(self, args): create_blocking(created_by=session.user, **args) return jsonify_data(flash=False)
def _process(self, args): blocking = create_blocking(created_by=session.user, **args) return jsonify(blockings_schema.dump(blocking, many=False).data)
def _process(self, args): blocking = create_blocking(created_by=session.user, **args) approve_or_request_blocking(blocking) return jsonify_data(flash=False)