def generate_code(self, pcg=None):
    pcg = PythonCodeGenerator()
    pcg.begin(tab='  ')
    signature = 'def ' + self.name + '('
    for i in range(0, len(self.arguments)):
      arg = self.arguments[i]
      if i > 0:
        signature += ', '
      signature += arg.name
      if arg.default:
        signature += '=' + arg.default
    signature += '):'
    pcg.writeln(signature)
    pcg.indent()
    if len(self.body):
      for line in self.body:
        if line == '__indent':
          pcg.indent()
        elif line == '__dedent':
          pcg.dedent()
        else:
          pcg.writeln(line)
    else:
      pcg.writeln('pass')
    pcg.dedent()
    return pcg.end()
Start nomming. If you're going to override this, make sure to follow
dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/StaticMethod.generate_code--crossover with--dataset/ETHPy150Open duointeractive/media-nommer/media_nommer/ec2nommerd/nommers/base_nommer.py/BaseNommer.onomnom