File size: 249 Bytes
a8b3f00
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from flask_restful import Resource

from controllers.console import api


class PingApi(Resource):
    def get(self):
        """
        For connection health check
        """
        return {"result": "pong"}


api.add_resource(PingApi, "/ping")