code: def get_fields(self):
          
          return [x for x in self.static_fields] + [x
                                                    for x in self.instance_fields]
docs: Return static and instance fields
  
          :rtype: a list of :class:`EncodedField` objects