You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617
  1. from flask_restful import Resource
  2. from controllers.console import api
  3. class PingApi(Resource):
  4. def get(self):
  5. """
  6. For connection health check
  7. """
  8. return {
  9. "result": "pong"
  10. }
  11. api.add_resource(PingApi, '/ping')