<reponame>fabasoad/thumbnail-service
import json

from aiohttp import web

class SystemResource:

    def __init__(self, web):
        self.routes = [
            web.get('/api/v1/system/pulse', self.pulse)
        ]
    
    async def pulse(self, request):
        return web.json_response({ "alive": True })
import json

from aiohttp import web

class SystemResource:

    def __init__(self, web):
        self.routes = [
            web.get('/api/v1/system/pulse', self.pulse)
        ]
    
    async def pulse(self, request):
        return web.json_response({ "alive": True })