from wutu.module import Module


class TestModule(Module):
    def __init__(self):
        super(TestModule, self).__init__()

    def ping(self):
        return "pong"

    def get(self):
        return {"result": "Hello"}

from wutu.module import Module


class TestModule(Module):
    def __init__(self):
        super(TestModule, self).__init__()

    def ping(self):
        return "pong"

    def get(self, id):
        return {"result": id}

Make test module return dynamic value