code: def __str__(self):
      if self.seq:
          extra = "*"
      elif self.opt:
          extra = "?"
      else:
          extra = ""
  
      return "{}{} {}".format(self.type, extra, self.name)
  
imports: from collections import namedtuple
  import re
label_desc: Use image node_id 2 for calling the Field obj's underlying member method code with example usage: obj.__str__() and returns: str