4
0
This repository has been archived on 2020-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
classification-service/classification_service/views/classify_view.py
marcsello fd83e268ef
All checks were successful
continuous-integration/drone/push Build is passing
Initial commit
2020-04-15 00:33:06 +02:00

12 lines
237 B
Python

#!/usr/bin/env python3
from flask import request, jsonify
from flask_classful import FlaskView
from utils import json_required
class ClassifyView(FlaskView):
@json_required
def post(self):
return jsonify(request.json)