Spaces:
Sleeping
Sleeping
File size: 247 Bytes
02e90e4 |
1 2 3 4 5 6 7 8 9 |
from modules.api import utils as api_utils
from modules.api.Api import APIManager
def setup(app: APIManager):
@app.get("/v1/ping", response_model=api_utils.BaseResponse)
async def ping():
return {"message": "ok", "data": "pong"}
|