Skip to content

Commit fd052ac

Browse files
committed
rm blank lines
1 parent a6430ed commit fd052ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
THREADED=False
1313
)
1414

15+
1516
@app.route('/add/<int:param1>/<int:param2>')
1617
def add(param1: int, param2: int) -> str:
1718
task = celery.send_task('tasks.add', args=[param1, param2], kwargs={})
@@ -27,9 +28,11 @@ def check_task(task_id: str) -> str:
2728
else:
2829
return str(res.result)
2930

31+
3032
@app.route('/health_check')
3133
def health_check() -> str:
3234
return jsonify("OK")
3335

36+
3437
if __name__ == '__main__':
3538
app.run(host='0.0.0.0', port='5001')

0 commit comments

Comments
 (0)