src/orion/serving/runtime.py
def on_get(self, req, resp):
        """Handle the HTTP GET requests for the '/' endpoint

        Parameters
        ----------
        req
            The request
        resp
            The response to send back
        """
        database = get_storage()._db.__class__.__name__
        response = {
            "orion": orion.core.__version__,
            "server": "gunicorn",
            "database": database,
        }

        resp.body = json.dumps(response, indent=4)
Handle the HTTP GET requests for the '/' endpoint

        Parameters
        ----------
        req
            The request
        resp
            The response to send back
        
Handle the HTTP GET requests for the '/' endpoint
Parameters

req
The request
resp
The response to send back
Handle the HTTP GET requests for the ' / ' endpoint Parameters req The request resp The response to send back
def on_get(self, req, resp):
        database = get_storage()._db.__class__.__name__
        response = {
            "orion": orion.core.__version__,
            "server": "gunicorn",
            "database": database,
        }
        resp.body = json.dumps(response, indent=4)
def on_get ( self , req , resp ) : database = get_storage ( ) . _db . __class__ . __name__ response = { "orion" : orion . core . __version__ , "server" : "gunicorn" , "database" : database , } resp . body = json . dumps ( response , indent = 4 )
Handle the HTTP GET requests for the '/' endpoint
Parameters
Handle the HTTP GET requests for the ' / ' endpoint Parameters
"""Handle the HTTP GET requests for the '/' endpoint

        Parameters
        ----------
        req
            The request
        resp
            The response to send back
        """
self
req
resp