archive
/
actioner
Archived
1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
actioner/actioner/web/__init__.py

14 lines
288 B
Python

from aiohttp import web
from actioner.clients import github
async def healthcheck(request):
return web.json_response({
'github': github.get_user().login
})
def get_server():
app = web.Application()
app.router.add_get("/healthcheck", healthcheck)
return app