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
Make test module return dynamic value

  from wutu.module import Module
  
  
  class TestModule(Module):
      def __init__(self):
          super(TestModule, self).__init__()
  
      def ping(self):
          return "pong"
  
-     def get(self):
+     def get(self, id):
-         return {"result": "Hello"}
+         return {"result": id}
  
Make test module return dynamic value
## Code Before:
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"}

## Instruction:
Make test module return dynamic value
## Code After:
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}
