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.

ping.py 249B

1234567891011121314
  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 {"result": "pong"}
  9. api.add_resource(PingApi, "/ping")