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