def __init__(self, name):
    self.name = name
    self.arguments = []
    self.return_type = None
    self.body = []
    self.argument_mappings = {}
    self.doc = None
    self.return_type = None
    self.doc_enabled = True
Create a new Method instance.
dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/Method.__init__