def generate_code(self, pcg):
    pcg.indent()
    signature = 'def ' + self.name + '(self'
    for i in range(0, len(self.arguments)):
      arg = self.arguments[i]
      if not arg.default:
        signature += ', ' + arg.name

    for i in range(0, len(self.arguments)):
      arg = self.arguments[i]
      if arg.default:
        signature += ', ' + arg.name + '=' + arg.default

    signature += '):'
    pcg.writeln(signature)
    pcg.indent()

    # Generate doc string for the method if applicable
    self.__generate_doc_string(pcg)

    if len(self.body):
      # Add method body - line by line
      for line in self.body:
        if line == '__indent':
          pcg.indent()
        elif line == '__dedent':
          pcg.dedent()
        else:
          pcg.writeln(line)
    else:
      # If no code lines have been added to this method, simply generate a
      # body with a single 'pass' statement.
      pcg.writeln('pass')
    pcg.dedent()
    pcg.dedent()
Configures the interface flowcontrol receive value
dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/Method.generate_code--crossover with--dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py/EthernetInterface.set_flowcontrol_receive